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

No module named 'timm' #6

Open
hameleon-ed opened this issue Apr 29, 2021 · 3 comments
Open

No module named 'timm' #6

hameleon-ed opened this issue Apr 29, 2021 · 3 comments

Comments

@hameleon-ed
Copy link

During the collab demo running, I stuck with this problem.
Can I do something with it?

Downloading: "https://github.com/intel-isl/MiDaS/archive/master.zip" to /root/.cache/torch/hub/master.zip

---------------------------------------------------------------------------

ModuleNotFoundError                       Traceback (most recent call last)

<ipython-input-8-377ddaf3164f> in <module>()
      9     print("Warning: Running on CPU---sampling might take a while...")
     10     device = torch.device("cpu")
---> 11 midas = Midas().eval().to(device)
     12 renderer = Renderer(model=model, device=device)

9 frames

/root/.cache/torch/hub/intel-isl_MiDaS_master/midas/vit.py in <module>()
      1 import torch
      2 import torch.nn as nn
----> 3 import timm
      4 import types
      5 import math

ModuleNotFoundError: No module named 'timm'
@avihu111
Copy link

avihu111 commented May 2, 2021

happened to me too.
pip install timm
solved it

@KoolenDasheppi
Copy link

They probably need to add that to the requirements then, right?

@Torcelllo
Copy link

When I installed Timm - said that this dependency had already been fulfilled?!

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

4 participants