facebookresearch / vggsfm

VGGSfM: Visual Geometry Grounded Deep Structure From Motion
Other
872 stars 63 forks source link

ModuleNotFoundError for 'visdom' and 'imageio' when running demo #74

Open JingruiYu opened 1 day ago

JingruiYu commented 1 day ago

Great work! I encountered a problem while following the instructions in the README to execute the demo. Here are the steps I performed:

  1. Ran source install.sh
  2. Executed python -m pip install -e .
  3. Tried running python demo.py SCENE_DIR=examples/kitchen

However, I faced the following errors:

It might be helpful to include these modules in the install.sh script to prevent such issues.

jytime commented 1 day ago

Hi,

Thanks for your interest! While I double checked that they are included in install.sh

https://github.com/facebookresearch/vggsfm/blob/8a3fe9d8ac0af7fe3324b8afde1a387eaa9b7f70/install.sh#L28

Can you run this command and see if it work?

JingruiYu commented 23 hours ago

Thanks for your kindly reply. This command did not work on my ubuntu22+zsh env,

$ pip install omegaconf opencv-python einops visdom tqdm scipy plotly scikit-learn imageio[ffmpeg] gradio trimesh huggingface_hub                                                                                                                                                                                                                               [15:36:32]
zsh: no matches found: imageio[ffmpeg]
(vggsfm_tmp) FAIL: 1

I used pip install imageio instead.

Since there was no crash when I ran the install.sh script, I assumed that all the commands in the script had been executed. Turns out there was an error in that step. Sorry, I didn't check the contents of this script carefully. Not sure if imageio[ffmpeg] is correct? or should it be imageio?