ImportError when trying to run Step 1: Install and Import DECODE
bellsrockets opened this issue · 5 comments
I am trying to run Step 1 of the setup of the Training notebook, and get the following error message:
ImportError: cannot import name 'container_abcs' from 'torch._six' (/usr/local/lib/python3.7/dist-packages/torch/_six.py)
I'm guessing this is due to changes in the torch libraries with the newest version of PyTorch (v1.9.0), but I'm not sure how best to fix it.
Many thanks for your help!
Thanks for pointing this out!
Please pin the pytorch version during installation I.e.
"Conda install -c [...] decode pytorch=1.7.1"
Would it be possible to fix this issue on the Colab tutorials?
Thanks for your help!
Yes of course. We will be on it soon!
@PierreMangeol Fixed on Colab. Locally it should not have appeared. If you experienced otherwise please comment or open a new issue :)
Perfect, thanks!