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

Noisy results on Pandaset. #51

Closed
hungdche opened this issue Jan 17, 2025 · 0 comments
Closed

Noisy results on Pandaset. #51

hungdche opened this issue Jan 17, 2025 · 0 comments

Comments

@hungdche
Copy link

Thank you for the great open-sourced project! I tried running inference on this given image from Pandaset, and the result looks a bit off. I am wondering if I am doing something wrong, and would appreciate your help!

Given condition image:
Image

Outputted prediction.

IMG_000000.mp4

Command:

python sample.py --dataset IMG --low_vram --n_rounds 6

Changes after cloning the repo

  • In /configs/inference/vista.yaml
--- a/configs/inference/vista.yaml
+++ b/configs/inference/vista.yaml
-   en_and_decode_n_samples_a_time: 14
-   num_frames: &num_frames 25
+   en_and_decode_n_samples_a_time: 1
+   num_frames: &num_frames 5
  • In vwm/modules/encoders/modules.py, as suggested by this
--- a/vwm/modules/encoders/modules.py
+++ b/vwm/modules/encoders/modules.py
-   emb_out = embedder(batch[embedder.input_key])
+   emb_out_1s = [embedder(batch[embedder.input_key][i].unsqueeze(0)) for i in range(batch[embedder.input_key].shape[0])]
+   emb_out = torch.concat(emb_out_1s, 0)
+   # emb_out = embedder(batch[embedder.input_key])
@hungdche hungdche closed this as completed Feb 2, 2025
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