TuragaLab/DECODE

Trouble Installing torch 1.7.1 on Colab

frankfazekas opened this issue · 3 comments

When running the first cell of the "Training a DECODE model" on Colab, I receive the error ValueError: module functions cannot set METH_CLASS or METH_STATIC in line 190 of /usr/local/lib/python3.7/dist-packages/torch/__init__.py. It seems to be an issue with installing torch. I tried installing 1.8.1 instead but received a similar error. Is there another version I should be trying?

Hey @frankfazekas thanks for reporting this, I will look into it and get back to you.
Best,
Lucas

Dear @frankfazekas I belive this has been resolved? I have tried the notebooks and could not reproduce the bug?

Dear Lucas, yes, thanks for looking into it. I'm not sure what the underlying issue was, but I haven't experienced the problem since. I am currently training a model to apply to some of my own data.