ashawkey / stable-dreamfusion

Text-to-3D & Image-to-3D & Mesh Exportation with NeRF + Diffusion.
Apache License 2.0
8k stars 710 forks source link

Trying Image to 3d on Colab and showed this error. from nerf.provider import NeRFDataset ModuleNotFoundError: No module named 'nerf' #247

Open decodegu opened 1 year ago

decodegu commented 1 year ago

Description

Trying Image to 3d on Colab and showed this error when I came to the training process

The error showed on line 29

from: can't read /var/mail/nerf.provider /bin/bash: import: command not found /bin/bash: a: No such file or directory Traceback (most recent call last): File "/content/stable-dreamfusion/pretrained/zero123/main.py", line 5, in from nerf.provider import NeRFDataset ModuleNotFoundError: No module named 'nerf' Traceback (most recent call last): File "/content/stable-dreamfusion/pretrained/zero123/main.py", line 5, in from nerf.provider import NeRFDataset ModuleNotFoundError: No module named 'nerf' Traceback (most recent call last): File "/content/stable-dreamfusion/pretrained/zero123/main.py", line 5, in from nerf.provider import NeRFDataset ModuleNotFoundError: No module named 'nerf' Traceback (most recent call last): File "/content/stable-dreamfusion/pretrained/zero123/main.py", line 5, in from nerf.provider import NeRFDataset ModuleNotFoundError: No module named 'nerf' Traceback (most recent call last): File "/content/stable-dreamfusion/pretrained/zero123/main.py", line 5, in from nerf.provider import NeRFDataset ModuleNotFoundError: No module named 'nerf' Traceback (most recent call last): File "/content/stable-dreamfusion/pretrained/zero123/main.py", line 5, in from nerf.provider import NeRFDataset ModuleNotFoundError: No module named 'nerf'

Steps to Reproduce

here is the code i ran.

https://colab.research.google.com/drive/1qm2iZRP2Fh2ElRzF9jayjtD1DOoYxshC?usp=sharing

Expected Behavior

The Zero123 model is loaded and generates new views to improve the image to 3D behavior.

Environment

Google Colab

ashawkey commented 1 year ago

@decodegu Hi, as far as I can see, you %cd pretrained/omnidata but forget to % cd ../.. to the root directory.