Skip to content

Next Best View Scripts #55

Description

@thucz

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions