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

Next Best View Scripts #55

Open
thucz opened this issue Jan 6, 2025 · 1 comment
Open

Next Best View Scripts #55

thucz opened this issue Jan 6, 2025 · 1 comment

Comments

@thucz
Copy link

thucz commented Jan 6, 2025

I try to run the following script with the mode of 'single_view_nbv'.

python inference.py \
--image_dir test/images/boy.png \
--out_dir ./output \
--traj_txt test/trajs/loop2.txt \
--mode 'single_view_nbv' \
--center_scale 1. \
--elevation=5 \
--seed 123 \
--d_theta -30  \
--d_phi 45 \
--d_r -.2   \
--d_x 50   \
--d_y 25   \
--ckpt_path ./checkpoints/model.ckpt \
--config configs/inference_pvd_1024.yaml \
--ddim_steps 50 \
--video_length 25 \
--device 'cuda:0' \
--height 576 --width 1024 \
--model_path ./checkpoints/DUSt3R_ViTLarge_BaseDecoder_512_dpt.pth

But It failed with this error:

Traceback (most recent call last):
  File "/workspace/chenzheng/videogen/ViewCrafter/inference.py", line 31, in <module>
    raise KeyError(f"Invalid Mode: {opts.mode}")
KeyError: 'Invalid Mode: single_view_nbv'

Why is there no 'single_view_nbv' mode in inference.py?

@thucz
Copy link
Author

thucz commented Jan 6, 2025

And how to set the parameters for 'single_view_nbv' mode?

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

1 participant