Image-to-Video
Diffusers
Safetensors
English
4d-generation
image-to-4d
diffusion
novel-view-synthesis
point-trajectory
Instructions to use Yanran21/MoGe4D with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Yanran21/MoGe4D with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image, export_to_video # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Yanran21/MoGe4D", dtype=torch.bfloat16, device_map="cuda") pipe.to("cuda") prompt = "A man with short gray hair plays a red electric guitar." image = load_image( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/guitar-man.png" ) output = pipe(image=image, prompt=prompt).frames[0] export_to_video(output, "output.mp4") - Notebooks
- Google Colab
- Kaggle
Upload VAE
Browse files- VAE/decoder_prompt/pytorch_model.bin +3 -0
- VAE/encoder_prompt/pytorch_model.bin +3 -0
- VAE/optimizer.bin +3 -0
- VAE/random_states_0.pkl +3 -0
- VAE/scheduler.bin +3 -0
- VAE/vae/pytorch_model.bin +3 -0
VAE/decoder_prompt/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82b246dfce9f4b2643d2dac92c56a672a62aeeb5d1475f704cdc8ed8542554be
|
| 3 |
+
size 2402544
|
VAE/encoder_prompt/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:169dd5a155c0cc9929910d62bc7a0f3819be9c82c1e7cfe7cc45574c951e32b8
|
| 3 |
+
size 1217368
|
VAE/optimizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13e23f8a133b6948dfadbedc5ca3a93d21c6530acb235e84a8a394c281010464
|
| 3 |
+
size 591262714
|
VAE/random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:685108c8437f6471f6194dfc6f88920ccc251ce8c6f6dde76ba1df34f439da85
|
| 3 |
+
size 15124
|
VAE/scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a97a7ee9d969067040d021e20b0e838a8d4732b0e2b4ccbc487944581674ce8
|
| 3 |
+
size 1064
|
VAE/vae/pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56c3418e4527b26a84e4d81245ed734d923d1e3a3928b0f8ba4626c1a310d823
|
| 3 |
+
size 507654098
|