Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -134,14 +134,12 @@ with gr.Blocks(css=css, theme=gr.themes.Base()) as demo:
|
|
| 134 |
)
|
| 135 |
gr.Markdown(f"""
|
| 136 |
**Information on modalities**:
|
| 137 |
-
|
| 138 |
-
\* *SAM
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
To visualize poses, please follow these steps:
|
| 144 |
-
|
| 145 |
1) Install via `pip install timm yacs smplx pyrender pyopengl==3.1.4`.
|
| 146 |
You may need to follow the [pyrender install instructions](https://pyrender.readthedocs.io/en/latest/install/index.html).
|
| 147 |
2) Download SMPL data from https://smpl.is.tue.mpg.de/. See https://github.com/shubham-goel/4D-Humans/ for an example.
|
|
|
|
| 134 |
)
|
| 135 |
gr.Markdown(f"""
|
| 136 |
**Information on modalities**:
|
| 137 |
+
|
| 138 |
+
\* このデモの *SAM インスタンス* は 1 回のパスで生成されるため、まばらに見える場合があります。密な SAM インスタンスをサンプリングするには、`fourm.models.generate.GenerationSampler` の便利な関数 [`generate_sam_dense`](https://github.com/apple/ml-4m/blob/e11539965e45aa6731143d742c4493c46b4ef620/fourm/models/generate.py#L1230-L1273) と、使用例については [4M-21 interactive notebook](https://github.com/apple/ml-4m/blob/main/notebooks/generation_4M-21.ipynb) を参照してください。
|
| 139 |
+
|
| 140 |
+
\*\* 4M-21 モデルは *4D 人間のポーズ* を予測できますが、それを視覚化するには配布できない SMPL モデルが必要です。
|
| 141 |
+
ポーズを視覚化するには、次の手順に従ってください:
|
| 142 |
+
|
|
|
|
|
|
|
| 143 |
1) Install via `pip install timm yacs smplx pyrender pyopengl==3.1.4`.
|
| 144 |
You may need to follow the [pyrender install instructions](https://pyrender.readthedocs.io/en/latest/install/index.html).
|
| 145 |
2) Download SMPL data from https://smpl.is.tue.mpg.de/. See https://github.com/shubham-goel/4D-Humans/ for an example.
|