Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikram Voleti committed Mar 18, 2024
1 parent 8ccfb90 commit e978019
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@
- SV3D_u: This variant generates orbital videos based on single image inputs without camera conditioning..
- SV3D_p: Extending the capability of SVD3_u, this variant accommodates both single images and orbital views allowing for the creation of 3D video along specified camera paths.
- We extend the streamlit demo `scripts/demo/video_sampling.py` and the standalone python script `scripts/sampling/simple_video_sample.py` for inference of both models.
- Please check our [tech report](https://sv3d.github.io/static/paper.pdf) and [video summary](https://youtu.be/Zqw4-1LcfWg) for more details.
- Please check our [project page](https://sv3d.github.io), [tech report](https://sv3d.github.io/static/paper.pdf) and [video summary](https://youtu.be/Zqw4-1LcfWg) for more details.

To run SV3D on a single image:
`python scripts/sampling/simple_video_sample.py --input_path <path/to/image.png> --version sv3d_p`

To run SVD or SV3D on a streamlit server:
`streamlit run scripts/demo/video_sampling.py`

![tile](assets/sv3d.gif)

Expand Down
2 changes: 2 additions & 0 deletions scripts/sampling/simple_video_sample.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import math
import os
import sys
from glob import glob
from pathlib import Path
from typing import List, Optional

sys.path.append(os.path.realpath(os.path.join(os.path.dirname(__file__), "../../")))
import cv2
import imageio
import numpy as np
Expand Down

0 comments on commit e978019

Please sign in to comment.