Im trying to install this and getting the following error when importing:
from controlnet_aux import LineartAnimeDetector
File "/usr/local/lib/python3.10/dist-packages/controlnet_aux/__init__.py", line 4, in <module>
from .leres import LeresDetector
File "/usr/local/lib/python3.10/dist-packages/controlnet_aux/leres/__init__.py", line 10, in <module>
from .leres.depthmap import estimateboost, estimateleres
File "/usr/local/lib/python3.10/dist-packages/controlnet_aux/leres/leres/depthmap.py", line 11, in <module>
from torchvision.transforms import transforms
ImportError: cannot import name 'transforms' from 'torchvision.transforms' (/usr/local/lib/python3.10/dist-packages/torchvision/transforms.py)
Im trying to install this and getting the following error when importing:
I have torchvision==0.1.6 installed and running
returns without error.
Does this require a specific version of torchvision?