Skip to content

No module named 'timm' #6

@hameleon-ed

Description

@hameleon-ed

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions