I am trying to import read_image from torchvision.io and when i hover the error it says
torchvision.io cannot find reference 'read_image' in '__init.py__'
from torchvision.io import read_image
I am following this example
from torchvision.io import read_image ImportError: cannot import name 'read_image' from 'torchvision.io' (C:UsersX.condaenvsPytorch37libsite-packagestorchvisionio__init__.py)
This is the error I’m getting.
# Just for my version of system and cuda, you need to replace the cmd below based on your condition pip install torch torchvision torchaudio