Spaces:
Sleeping
Sleeping
modified: .gitattributes
Browse filesdeleted: =6.0
new file: custom_utils/SMPL_FEMALE.npz
modified: custom_utils/smpl_visualizer.py
- .gitattributes +1 -0
- =6.0 +0 -84
- custom_utils/SMPL_FEMALE.npz +3 -0
- custom_utils/smpl_visualizer.py +1 -1
.gitattributes
CHANGED
|
@@ -45,5 +45,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 45 |
*.fbx filter=lfs diff=lfs merge=lfs -text
|
| 46 |
*.blend filter=lfs diff=lfs merge=lfs -text
|
| 47 |
*.bc filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 48 |
NvidiaWarp-GarmentCode/warp/native/libdevice/libdevice.10.bc filter=lfs diff=lfs merge=lfs -text
|
| 49 |
NvidiaWarp-GarmentCode/warp/native/libdevice/libdevice.10.bc filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 45 |
*.fbx filter=lfs diff=lfs merge=lfs -text
|
| 46 |
*.blend filter=lfs diff=lfs merge=lfs -text
|
| 47 |
*.bc filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
|
| 49 |
NvidiaWarp-GarmentCode/warp/native/libdevice/libdevice.10.bc filter=lfs diff=lfs merge=lfs -text
|
| 50 |
NvidiaWarp-GarmentCode/warp/native/libdevice/libdevice.10.bc filter=lfs diff=lfs merge=lfs -text
|
=6.0
DELETED
|
@@ -1,84 +0,0 @@
|
|
| 1 |
-
Requirement already satisfied: scipy in /home/user/miniconda/lib/python3.12/site-packages (1.15.2)
|
| 2 |
-
Requirement already satisfied: pyaml in /home/user/miniconda/lib/python3.12/site-packages (25.1.0)
|
| 3 |
-
Requirement already satisfied: svgwrite in /home/user/miniconda/lib/python3.12/site-packages (1.4.3)
|
| 4 |
-
Requirement already satisfied: psutil in /home/user/miniconda/lib/python3.12/site-packages (7.0.0)
|
| 5 |
-
Requirement already satisfied: matplotlib in /home/user/miniconda/lib/python3.12/site-packages (3.10.1)
|
| 6 |
-
Requirement already satisfied: svgpathtools in /home/user/miniconda/lib/python3.12/site-packages (1.6.1)
|
| 7 |
-
Requirement already satisfied: cairosvg in /home/user/miniconda/lib/python3.12/site-packages (2.7.1)
|
| 8 |
-
Requirement already satisfied: nicegui in /home/user/miniconda/lib/python3.12/site-packages (2.14.1)
|
| 9 |
-
Requirement already satisfied: trimesh in /home/user/miniconda/lib/python3.12/site-packages (4.6.6)
|
| 10 |
-
Requirement already satisfied: libigl in /home/user/miniconda/lib/python3.12/site-packages (2.5.1)
|
| 11 |
-
Requirement already satisfied: pyrender in /home/user/miniconda/lib/python3.12/site-packages (0.1.45)
|
| 12 |
-
Requirement already satisfied: cgal in /home/user/miniconda/lib/python3.12/site-packages (6.0.1.post202410241521)
|
| 13 |
-
Requirement already satisfied: pygarment in /home/user/miniconda/lib/python3.12/site-packages (2.0.1)
|
| 14 |
-
Requirement already satisfied: numpy<2.5,>=1.23.5 in /home/user/miniconda/lib/python3.12/site-packages (from scipy) (1.26.4)
|
| 15 |
-
Requirement already satisfied: PyYAML in /home/user/miniconda/lib/python3.12/site-packages (from pyaml) (6.0.2)
|
| 16 |
-
Requirement already satisfied: contourpy>=1.0.1 in /home/user/miniconda/lib/python3.12/site-packages (from matplotlib) (1.3.1)
|
| 17 |
-
Requirement already satisfied: cycler>=0.10 in /home/user/miniconda/lib/python3.12/site-packages (from matplotlib) (0.12.1)
|
| 18 |
-
Requirement already satisfied: fonttools>=4.22.0 in /home/user/miniconda/lib/python3.12/site-packages (from matplotlib) (4.57.0)
|
| 19 |
-
Requirement already satisfied: kiwisolver>=1.3.1 in /home/user/miniconda/lib/python3.12/site-packages (from matplotlib) (1.4.8)
|
| 20 |
-
Requirement already satisfied: packaging>=20.0 in /home/user/miniconda/lib/python3.12/site-packages (from matplotlib) (24.2)
|
| 21 |
-
Requirement already satisfied: pillow>=8 in /home/user/miniconda/lib/python3.12/site-packages (from matplotlib) (11.1.0)
|
| 22 |
-
Requirement already satisfied: pyparsing>=2.3.1 in /home/user/miniconda/lib/python3.12/site-packages (from matplotlib) (3.2.3)
|
| 23 |
-
Requirement already satisfied: python-dateutil>=2.7 in /home/user/miniconda/lib/python3.12/site-packages (from matplotlib) (2.9.0.post0)
|
| 24 |
-
Requirement already satisfied: cairocffi in /home/user/miniconda/lib/python3.12/site-packages (from cairosvg) (1.7.1)
|
| 25 |
-
Requirement already satisfied: cssselect2 in /home/user/miniconda/lib/python3.12/site-packages (from cairosvg) (0.8.0)
|
| 26 |
-
Requirement already satisfied: defusedxml in /home/user/miniconda/lib/python3.12/site-packages (from cairosvg) (0.7.1)
|
| 27 |
-
Requirement already satisfied: tinycss2 in /home/user/miniconda/lib/python3.12/site-packages (from cairosvg) (1.4.0)
|
| 28 |
-
Requirement already satisfied: Pygments<3.0.0,>=2.15.1 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (2.15.1)
|
| 29 |
-
Requirement already satisfied: aiofiles>=23.1.0 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (24.1.0)
|
| 30 |
-
Requirement already satisfied: aiohttp>=3.10.2 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (3.11.16)
|
| 31 |
-
Requirement already satisfied: certifi>=2024.07.04 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (2025.1.31)
|
| 32 |
-
Requirement already satisfied: docutils>=0.19.0 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (0.21.2)
|
| 33 |
-
Requirement already satisfied: fastapi>=0.109.1 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (0.115.12)
|
| 34 |
-
Requirement already satisfied: httpx>=0.24.0 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (0.28.1)
|
| 35 |
-
Requirement already satisfied: ifaddr>=0.2.0 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (0.2.0)
|
| 36 |
-
Requirement already satisfied: itsdangerous<3.0.0,>=2.1.2 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (2.2.0)
|
| 37 |
-
Requirement already satisfied: jinja2<4.0.0,>=3.1.6 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (3.1.6)
|
| 38 |
-
Requirement already satisfied: markdown2!=2.4.11,>=2.4.7 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (2.5.3)
|
| 39 |
-
Requirement already satisfied: orjson>=3.9.15 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (3.10.16)
|
| 40 |
-
Requirement already satisfied: python-multipart>=0.0.18 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (0.0.20)
|
| 41 |
-
Requirement already satisfied: python-socketio>=5.10.0 in /home/user/miniconda/lib/python3.12/site-packages (from python-socketio[asyncio-client]>=5.10.0->nicegui) (5.12.1)
|
| 42 |
-
Requirement already satisfied: requests>=2.32.0 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (2.32.3)
|
| 43 |
-
Requirement already satisfied: starlette>=0.45.3 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (0.46.1)
|
| 44 |
-
Requirement already satisfied: typing-extensions>=4.0.0 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (4.12.2)
|
| 45 |
-
Requirement already satisfied: urllib3!=2.0.0,!=2.0.1,!=2.0.2,!=2.0.3,!=2.0.4,!=2.0.5,!=2.0.6,!=2.0.7,!=2.1.0,!=2.2.0,!=2.2.1,>=1.26.18 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (2.3.0)
|
| 46 |
-
Requirement already satisfied: uvicorn>=0.22.0 in /home/user/miniconda/lib/python3.12/site-packages (from uvicorn[standard]>=0.22.0->nicegui) (0.34.0)
|
| 47 |
-
Requirement already satisfied: vbuild>=0.8.2 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (0.8.2)
|
| 48 |
-
Requirement already satisfied: watchfiles>=0.18.1 in /home/user/miniconda/lib/python3.12/site-packages (from nicegui) (1.0.5)
|
| 49 |
-
Requirement already satisfied: freetype-py in /home/user/miniconda/lib/python3.12/site-packages (from pyrender) (2.5.1)
|
| 50 |
-
Requirement already satisfied: imageio in /home/user/miniconda/lib/python3.12/site-packages (from pyrender) (2.37.0)
|
| 51 |
-
Requirement already satisfied: networkx in /home/user/miniconda/lib/python3.12/site-packages (from pyrender) (3.4.2)
|
| 52 |
-
Requirement already satisfied: pyglet>=1.4.10 in /home/user/miniconda/lib/python3.12/site-packages (from pyrender) (2.1.3)
|
| 53 |
-
Requirement already satisfied: PyOpenGL==3.1.0 in /home/user/miniconda/lib/python3.12/site-packages (from pyrender) (3.1.0)
|
| 54 |
-
Requirement already satisfied: six in /home/user/miniconda/lib/python3.12/site-packages (from pyrender) (1.17.0)
|
| 55 |
-
Requirement already satisfied: aiohappyeyeballs>=2.3.0 in /home/user/miniconda/lib/python3.12/site-packages (from aiohttp>=3.10.2->nicegui) (2.6.1)
|
| 56 |
-
Requirement already satisfied: aiosignal>=1.1.2 in /home/user/miniconda/lib/python3.12/site-packages (from aiohttp>=3.10.2->nicegui) (1.3.2)
|
| 57 |
-
Requirement already satisfied: attrs>=17.3.0 in /home/user/miniconda/lib/python3.12/site-packages (from aiohttp>=3.10.2->nicegui) (25.3.0)
|
| 58 |
-
Requirement already satisfied: frozenlist>=1.1.1 in /home/user/miniconda/lib/python3.12/site-packages (from aiohttp>=3.10.2->nicegui) (1.5.0)
|
| 59 |
-
Requirement already satisfied: multidict<7.0,>=4.5 in /home/user/miniconda/lib/python3.12/site-packages (from aiohttp>=3.10.2->nicegui) (6.4.3)
|
| 60 |
-
Requirement already satisfied: propcache>=0.2.0 in /home/user/miniconda/lib/python3.12/site-packages (from aiohttp>=3.10.2->nicegui) (0.3.1)
|
| 61 |
-
Requirement already satisfied: yarl<2.0,>=1.17.0 in /home/user/miniconda/lib/python3.12/site-packages (from aiohttp>=3.10.2->nicegui) (1.19.0)
|
| 62 |
-
Requirement already satisfied: pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4 in /home/user/miniconda/lib/python3.12/site-packages (from fastapi>=0.109.1->nicegui) (2.10.3)
|
| 63 |
-
Requirement already satisfied: anyio in /home/user/miniconda/lib/python3.12/site-packages (from httpx>=0.24.0->nicegui) (4.9.0)
|
| 64 |
-
Requirement already satisfied: httpcore==1.* in /home/user/miniconda/lib/python3.12/site-packages (from httpx>=0.24.0->nicegui) (1.0.7)
|
| 65 |
-
Requirement already satisfied: idna in /home/user/miniconda/lib/python3.12/site-packages (from httpx>=0.24.0->nicegui) (3.7)
|
| 66 |
-
Requirement already satisfied: h11<0.15,>=0.13 in /home/user/miniconda/lib/python3.12/site-packages (from httpcore==1.*->httpx>=0.24.0->nicegui) (0.14.0)
|
| 67 |
-
Requirement already satisfied: MarkupSafe>=2.0 in /home/user/miniconda/lib/python3.12/site-packages (from jinja2<4.0.0,>=3.1.6->nicegui) (3.0.2)
|
| 68 |
-
Requirement already satisfied: bidict>=0.21.0 in /home/user/miniconda/lib/python3.12/site-packages (from python-socketio>=5.10.0->python-socketio[asyncio-client]>=5.10.0->nicegui) (0.23.1)
|
| 69 |
-
Requirement already satisfied: python-engineio>=4.11.0 in /home/user/miniconda/lib/python3.12/site-packages (from python-socketio>=5.10.0->python-socketio[asyncio-client]>=5.10.0->nicegui) (4.11.2)
|
| 70 |
-
Requirement already satisfied: charset-normalizer<4,>=2 in /home/user/miniconda/lib/python3.12/site-packages (from requests>=2.32.0->nicegui) (3.3.2)
|
| 71 |
-
Requirement already satisfied: click>=7.0 in /home/user/miniconda/lib/python3.12/site-packages (from uvicorn>=0.22.0->uvicorn[standard]>=0.22.0->nicegui) (8.1.8)
|
| 72 |
-
Requirement already satisfied: httptools>=0.6.3 in /home/user/miniconda/lib/python3.12/site-packages (from uvicorn[standard]>=0.22.0->nicegui) (0.6.4)
|
| 73 |
-
Requirement already satisfied: python-dotenv>=0.13 in /home/user/miniconda/lib/python3.12/site-packages (from uvicorn[standard]>=0.22.0->nicegui) (1.1.0)
|
| 74 |
-
Requirement already satisfied: uvloop!=0.15.0,!=0.15.1,>=0.14.0 in /home/user/miniconda/lib/python3.12/site-packages (from uvicorn[standard]>=0.22.0->nicegui) (0.21.0)
|
| 75 |
-
Requirement already satisfied: websockets>=10.4 in /home/user/miniconda/lib/python3.12/site-packages (from uvicorn[standard]>=0.22.0->nicegui) (15.0.1)
|
| 76 |
-
Requirement already satisfied: pscript<0.8.0,>=0.7.0 in /home/user/miniconda/lib/python3.12/site-packages (from vbuild>=0.8.2->nicegui) (0.7.7)
|
| 77 |
-
Requirement already satisfied: cffi>=1.1.0 in /home/user/miniconda/lib/python3.12/site-packages (from cairocffi->cairosvg) (1.17.1)
|
| 78 |
-
Requirement already satisfied: webencodings in /home/user/miniconda/lib/python3.12/site-packages (from cssselect2->cairosvg) (0.5.1)
|
| 79 |
-
Requirement already satisfied: sniffio>=1.1 in /home/user/miniconda/lib/python3.12/site-packages (from anyio->httpx>=0.24.0->nicegui) (1.3.1)
|
| 80 |
-
Requirement already satisfied: pycparser in /home/user/miniconda/lib/python3.12/site-packages (from cffi>=1.1.0->cairocffi->cairosvg) (2.21)
|
| 81 |
-
Requirement already satisfied: annotated-types>=0.6.0 in /home/user/miniconda/lib/python3.12/site-packages (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4->fastapi>=0.109.1->nicegui) (0.6.0)
|
| 82 |
-
Requirement already satisfied: pydantic-core==2.27.1 in /home/user/miniconda/lib/python3.12/site-packages (from pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4->fastapi>=0.109.1->nicegui) (2.27.1)
|
| 83 |
-
Requirement already satisfied: simple-websocket>=0.10.0 in /home/user/miniconda/lib/python3.12/site-packages (from python-engineio>=4.11.0->python-socketio>=5.10.0->python-socketio[asyncio-client]>=5.10.0->nicegui) (1.1.0)
|
| 84 |
-
Requirement already satisfied: wsproto in /home/user/miniconda/lib/python3.12/site-packages (from simple-websocket>=0.10.0->python-engineio>=4.11.0->python-socketio>=5.10.0->python-socketio[asyncio-client]>=5.10.0->nicegui) (1.2.0)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
custom_utils/SMPL_FEMALE.npz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4f7bead53a0b0ea9fc7815349e1c20984d00a13d4b50887f56a3c09677443f6
|
| 3 |
+
size 44843332
|
custom_utils/smpl_visualizer.py
CHANGED
|
@@ -82,7 +82,7 @@ def main(model_path: Path) -> None:
|
|
| 82 |
|
| 83 |
# Main loop. We'll read pose/shape from the GUI elements, compute the mesh,
|
| 84 |
# and then send the updated mesh in a loop.
|
| 85 |
-
model = SmplHelper(model_path)
|
| 86 |
gui_elements = make_gui_elements(
|
| 87 |
server,
|
| 88 |
num_betas=model.num_betas,
|
|
|
|
| 82 |
|
| 83 |
# Main loop. We'll read pose/shape from the GUI elements, compute the mesh,
|
| 84 |
# and then send the updated mesh in a loop.
|
| 85 |
+
model = SmplHelper("./SMPL_FEMALE.npz") #model_path)
|
| 86 |
gui_elements = make_gui_elements(
|
| 87 |
server,
|
| 88 |
num_betas=model.num_betas,
|