AttributeError: module 'torchvision.io' has no attribute 'read_image'

What can I do for this?thanks

You could update your torchvision library, as this method was introduced in 0.8.0 so I guess you are using an older version.

Thanks,I will try it.