mirror of
https://github.com/Stability-AI/generative-models.git
synced 2025-12-19 22:34:22 +01:00
SV3D update README (#305)
* Makes init changes for SV3D * Small fixes : cond_aug * Fixes SV3D checkpoint, fixes rembg * Black formatting * Adds streamlit demo, fixes simple sample script * Removes SV3D video_decoder, keeps SV3D image_decoder * Updates README * Minor updates * Remove GSO script * Updates REAME, fixes names --------- Co-authored-by: Vikram Voleti <vikram@ip-26-0-153-234.us-west-2.compute.internal>
This commit is contained in:
10
README.md
10
README.md
@@ -12,8 +12,18 @@
|
||||
- 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 [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.
|
||||
|
||||
<<<<<<< HEAD
|
||||
To run SV3D_u on a single image:
|
||||
- Download `sv3d_u.safetensors` from https://huggingface.co/stabilityai/sv3d to `checkpoints/sv3d_u.safetensors`
|
||||
- Run `python scripts/sampling/simple_video_sample.py --input_path <path/to/image.png> --version sv3d_u`
|
||||
|
||||
Additionally for SV3D_p,
|
||||
- Specify sequences of 21 elevations and 21 azimuths (in degrees) to `elevations_deg` ([-90, 90]), and `azimuths_deg` [0, 360] in sorted order from 0 to 360. For example:
|
||||
`python scripts/sampling/simple_video_sample.py --input_path <path/to/image.png> --version sv3d_p --elevations_deg [<list of 21 elevations in degrees>] --azimuths_deg [<list of 21 azimuths in degrees>]`
|
||||
=======
|
||||
To run SV3D on a single image:
|
||||
`python scripts/sampling/simple_video_sample.py --input_path <path/to/image.png> --version sv3d_p`
|
||||
>>>>>>> main
|
||||
|
||||
To run SVD or SV3D on a streamlit server:
|
||||
`streamlit run scripts/demo/video_sampling.py`
|
||||
|
||||
@@ -3,7 +3,7 @@ model:
|
||||
params:
|
||||
scale_factor: 0.18215
|
||||
disable_first_stage_autocast: True
|
||||
ckpt_path: checkpoints/sv3d_p_image_decoder.safetensors
|
||||
ckpt_path: checkpoints/sv3d_p.safetensors
|
||||
|
||||
denoiser_config:
|
||||
target: sgm.modules.diffusionmodules.denoiser.Denoiser
|
||||
|
||||
@@ -3,7 +3,7 @@ model:
|
||||
params:
|
||||
scale_factor: 0.18215
|
||||
disable_first_stage_autocast: True
|
||||
ckpt_path: checkpoints/sv3d_u_image_decoder.safetensors
|
||||
ckpt_path: checkpoints/sv3d_u.safetensors
|
||||
|
||||
denoiser_config:
|
||||
target: sgm.modules.diffusionmodules.denoiser.Denoiser
|
||||
|
||||
Reference in New Issue
Block a user