Instructions to use Skywork/Matrix-Game-2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Skywork/Matrix-Game-2.0 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("Skywork/Matrix-Game-2.0", torch_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
Update README.md
Browse files
README.md
CHANGED
|
@@ -45,8 +45,8 @@ base_model:
|
|
| 45 |
|
| 46 |
| Model | Image Quality β | Aesthetic Quality β | Temporal Cons. β | Motion Smooth. β | Keyboard Acc. β | Mouse Acc. β | Object Cons. | Scenario Cons.|
|
| 47 |
|-----------|------------------|-------------|-------------------|-------------------|------------------|---------------|-------------|-------------|
|
| 48 |
-
| Oasis | 0.27 | 0.27 | 0.82 | **0.99** | 0.73 | 0.56 | 0.18 | 0.84 |
|
| 49 |
-
| **Ours** | **0.61** | **0.50** | **0.94** | 0.98 | **0.91** | **0.95** | **0.64** |
|
| 50 |
|
| 51 |
**Metric Descriptions**:
|
| 52 |
|
|
|
|
| 45 |
|
| 46 |
| Model | Image Quality β | Aesthetic Quality β | Temporal Cons. β | Motion Smooth. β | Keyboard Acc. β | Mouse Acc. β | Object Cons. | Scenario Cons.|
|
| 47 |
|-----------|------------------|-------------|-------------------|-------------------|------------------|---------------|-------------|-------------|
|
| 48 |
+
| Oasis | 0.27 | 0.27 | 0.82 | **0.99** | 0.73 | 0.56 | 0.18 | **0.84** |
|
| 49 |
+
| **Ours** | **0.61** | **0.50** | **0.94** | 0.98 | **0.91** | **0.95** | **0.64** | 0.80 |
|
| 50 |
|
| 51 |
**Metric Descriptions**:
|
| 52 |
|