Closed Coobiw closed 1 year ago
Sorry,the version change is because I install pytorch-lightning. Now I have turn back to torch=1.9.1+cu111 torchvison=0.10.1+cu111. Unfortunately, after
pip uninstall torch-encoding
I run :
python setup.py install
and get an error:
RuntimeError: Error compiling objects for extension
Thanks for your sincere answer.
I solve this problem by pip, just run:
pip install torch-encoding
.
Really embarrassing.
ImportError: cannot import name 'cpu' from partially initialized module 'encoding' (most likely due to a circular import)
Actually, before I install pytorch-encoding, I install torch=1.9.1+cu111 torchvison=0.10.1+cu111
after install pytorch-encoding, it changed.