NeuralMeshFlow icon indicating copy to clipboard operation
NeuralMeshFlow copied to clipboard

ModuleNotFoundError: No module named 'torchdiffeq' for from torchdiffeq import odeint_adjoint as odeint

Open monacv opened this issue 4 years ago • 5 comments

When I run this notebook from you, I get the following error.

Could you please guide me how to fix it?

https://colab.research.google.com/drive/13qu74xDsHCgQLsHfjACJ5DGF9JkOJYYu#scrollTo=VGwZinRQHX-T Screenshot from 2021-03-17 20-36-40

monacv avatar Mar 18 '21 00:03 monacv

Not sure, but the notebook seems to be running just fine at my end. Can you please check again if you are facing the problem?

KunalMGupta avatar Mar 18 '21 16:03 KunalMGupta

Hi Kunal,

Thank you so much for having a look. Yeah I ran it again and occurred the same problem. Despites all the cell above having no problem with execution.

Here's more screenshot. I really appreciate if you could help me fix it:

Screenshot from 2021-03-18 17-47-13 Screenshot from 2021-03-18 17-47-04 Screenshot from 2021-03-18 17-49-27

monacv avatar Mar 18 '21 21:03 monacv

Hi. I think I can replicate the problem on my end. It seems to work sometimes but fail otherwise. I am looking into it. In the mean time, I'd suggest that you download the notebook and run it locally. That should hopefully work.

Kunal

KunalMGupta avatar Mar 24 '21 17:03 KunalMGupta

I am facing the same issue

husnain-ali21 avatar Apr 07 '21 12:04 husnain-ali21

I solved it by restarting runtime and installed torchdiffeq using !python3 -m pip install torchdiffeq

husnain-ali21 avatar Apr 07 '21 13:04 husnain-ali21