Normalize Motius Pipeline.from_pretrained metadata
Browse files- README.md +8 -0
- model_index.json +27 -0
README.md
CHANGED
|
@@ -28,3 +28,11 @@ motion = pipe("two people hug", motion_len=120, seed=42)
|
|
| 28 |
```
|
| 29 |
|
| 30 |
See the [full Motius model card](https://github.com/ZeyuLing/Motius/blob/main/docs/model_zoo/intermask.md).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
```
|
| 29 |
|
| 30 |
See the [full Motius model card](https://github.com/ZeyuLing/Motius/blob/main/docs/model_zoo/intermask.md).
|
| 31 |
+
|
| 32 |
+
## Direct Loading
|
| 33 |
+
|
| 34 |
+
```python
|
| 35 |
+
from motius import Pipeline
|
| 36 |
+
|
| 37 |
+
pipeline = Pipeline.from_pretrained("ZeyuLing/motius-intermask-interhuman")
|
| 38 |
+
```
|
model_index.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "InterMaskPipeline",
|
| 3 |
+
"_library_name": "motius",
|
| 4 |
+
"format_version": 1,
|
| 5 |
+
"pipeline_class": "motius.pipelines.intermask.InterMaskPipeline",
|
| 6 |
+
"bundle_class": "motius.models.intermask.InterMaskBundle",
|
| 7 |
+
"tasks": [
|
| 8 |
+
"text_to_multi_person_motion"
|
| 9 |
+
],
|
| 10 |
+
"required_files": [
|
| 11 |
+
"artifact_manifest.json",
|
| 12 |
+
"intermask_config.json",
|
| 13 |
+
"stats/global_mean.npy",
|
| 14 |
+
"stats/global_std.npy",
|
| 15 |
+
"transformer.safetensors",
|
| 16 |
+
"transformer_opt.txt",
|
| 17 |
+
"vq_model.safetensors",
|
| 18 |
+
"vq_opt.txt"
|
| 19 |
+
],
|
| 20 |
+
"api": {
|
| 21 |
+
"loader": "motius.Pipeline.from_pretrained",
|
| 22 |
+
"task_methods": [
|
| 23 |
+
"infer_text_to_multi_person_motion"
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"artifact_format": "motius-intermask-v1"
|
| 27 |
+
}
|