Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
monacv opened this issue Mar 18, 2021 · 5 comments

Comments

@monacv
Copy link

monacv commented Mar 18, 2021

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

@KunalMGupta
Copy link
Owner

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?

@monacv
Copy link
Author

monacv commented Mar 18, 2021

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

@KunalMGupta
Copy link
Owner

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

@husnain-ali21
Copy link

I am facing the same issue

@husnain-ali21
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants