threestudio icon indicating copy to clipboard operation
threestudio copied to clipboard

Google Colab Error

Open qtabdullah opened this issue 1 year ago • 1 comments

╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /content/threestudio/launch.py:180 in <module>                               │
│                                                                              │
│   177                                                                        │
│   178                                                                        │
│   179 if __name__ == "__main__":                                             │
│ ❱ 180 │   main()                                                             │
│   181                                                                        │
│                                                                              │
│ /content/threestudio/launch.py:82 in main                                    │
│                                                                              │
│    79 │   │                                                                  │
│    80 │   │   install_import_hook("threestudio", "typeguard.typechecked")    │
│    81 │                                                                      │
│ ❱  82 │   import threestudio                                                 │
│    83 │   from threestudio.systems.base import BaseSystem                    │
│    84 │   from threestudio.utils.callbacks import (                          │
│    85 │   │   CodeSnapshotCallback,                                          │
│                                                                              │
│ /content/threestudio/threestudio/__init__.py:36 in <module>                  │
│                                                                              │
│   33 │   logger.warn(*args, **kwargs)                                        │
│   34                                                                         │
│   35                                                                         │
│ ❱ 36 from . import data, models, systems                                     │
│   37                                                                         │
│                                                                              │
│ /content/threestudio/threestudio/systems/__init__.py:1 in <module>           │
│                                                                              │
│ ❱  1 from . import (                                                         │
│    2 │   dreamfusion,                                                        │
│    3 │   fantasia3d,                                                         │
│    4 │   imagedreamfusion,                                                   │
│                                                                              │
│ /content/threestudio/threestudio/systems/dreamfusion.py:6 in <module>        │
│                                                                              │
│     3 import torch                                                           │
│     4                                                                        │
│     5 import threestudio                                                     │
│ ❱   6 from threestudio.systems.base import BaseLift3DSystem                  │
│     7 from threestudio.utils.ops import binary_cross_entropy, dot            │
│     8 from threestudio.utils.typing import *                                 │
│     9                                                                        │
│                                                                              │
│ /content/threestudio/threestudio/systems/base.py:12 in <module>              │
│                                                                              │
│     9 from threestudio.utils.base import Updateable, update_if_possible      │
│    10 from threestudio.utils.config import parse_structured                  │
│    11 from threestudio.utils.misc import C, cleanup, get_device, load_module │
│ ❱  12 from threestudio.utils.saving import SaverMixin                        │
│    13 from threestudio.utils.typing import *                                 │
│    14                                                                        │
│    15                                                                        │
│                                                                              │
│ /content/threestudio/threestudio/utils/saving.py:12 in <module>              │
│                                                                              │
│     9 import numpy as np                                                     │
│    10 import torch                                                           │
│    11 import trimesh                                                         │
│ ❱  12 import wandb                                                           │
│    13 from matplotlib import cm                                              │
│    14 from matplotlib.colors import LinearSegmentedColormap                  │
│    15 from pytorch_lightning.loggers import WandbLogger                      │
╰──────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'wandb'

qtabdullah avatar Jun 14 '23 15:06 qtabdullah

Just run pip install wandb

thuliu-yt16 avatar Jun 14 '23 16:06 thuliu-yt16