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

Issues with installation: No module named 'dust3r' #52

Open
Arborle opened this issue Dec 12, 2024 · 1 comment
Open

Issues with installation: No module named 'dust3r' #52

Arborle opened this issue Dec 12, 2024 · 1 comment

Comments

@Arborle
Copy link

Arborle commented Dec 12, 2024

Hi, I’m using a MacBook Pro M2 Max with macOS 15.2 Dev Beta.

After creating a Miniconda environment with Python 3.9, I was able to clone the repo and run the following commands as described in the README:

pip3 install -r requirements.txt --index-url https://download.pytorch.org/whl/cu121
pip3 install git+https://github.com/facebookresearch/pytorch3d@stable
pip3 install git+https://github.com/NVlabs/nvdiffrast

I didn’t encounter any errors and successfully downloaded the pretrained models. However, when I try to run the build with:

python3 main.py
--text_prompt "a lovely rabbit"
--save_folder ./outputs/test/
--max_faces_num 90000
--do_texture_mapping
--do_render

I get an error stating that the module dust3r cannot be found. I did find a file named dust3r_utils.py in the third-party subdirectory.

Has anyone experienced this issue, or does anyone have an idea how to resolve it?

Thank you in advance!

@liftyourgame
Copy link

Do you do this from the README?

because of dust3r, we offer a guide:

cd third_party
git clone --recursive https://github.com/naver/dust3r.git

cd ../third_party/weights
wget https://download.europe.naverlabs.com/ComputerVision/DUSt3R/DUSt3R_ViTLarge_BaseDecoder_512_dpt.pth

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

2 participants