geometry-free-view-synthesis icon indicating copy to clipboard operation
geometry-free-view-synthesis copied to clipboard

No module named 'timm'

Open hameleon-ed opened this issue 3 years ago • 3 comments

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'

hameleon-ed avatar Apr 29 '21 09:04 hameleon-ed

happened to me too. pip install timm solved it

avihu111 avatar May 02 '21 18:05 avihu111

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

KoolenDasheppi avatar May 24 '21 03:05 KoolenDasheppi

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

Torcelllo avatar May 04 '24 07:05 Torcelllo