You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed your instructions to build the environment. But I got the following error when running tutorial_train.py:
Traceback (most recent call last):
File "tutorial_train.py", line 1, in <module>
from share import *
File "/workspace/ControlNet/share.py", line 2, in <module>
from cldm.hack import disable_verbosity, enable_sliced_attention
File "/workspace/ControlNet/cldm/hack.py", line 5, in <module>
import ldm.modules.attention
File "/workspace/ControlNet/ldm/modules/attention.py", line 4, in <module>
from torch._C import TorchDispatchMode
ImportError: cannot import name 'TorchDispatchMode' from 'torch._C' (/opt/conda/envs/control/lib/python3.8/site-packages/torch/_C.cpython-38-x86_64-linux-gnu.so)
I followed your instructions to build the environment. But I got the following error when running tutorial_train.py:
And the details of my environment is as follows:
Can you give me some advice?
The text was updated successfully, but these errors were encountered: