ModuleNotFoundError: No module named 'torchdiffeq' for from torchdiffeq import odeint_adjoint as odeint
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

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?
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:

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
I am facing the same issue
I solved it by restarting runtime and installed torchdiffeq using !python3 -m pip install torchdiffeq