YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Human Pose Estimation
๋์ผ ์นด๋ฉ๋ผ ์ค์๊ฐ ์ธ์ฒด ์์ธ ์ถ์ ์๋ฒ. SMPLer-X / SMPLest-X ๊ธฐ๋ฐ์ผ๋ก SMPL-X 3D mesh๋ฅผ ์ค์๊ฐ์ผ๋ก ์ถ๋ก ํ๊ณ ์น UI๋ก ์คํธ๋ฆฌ๋ฐํฉ๋๋ค.
๋ชจ๋ธ ์ ํ
| variant | ๋ชจ๋ธ | ์๋ |
|---|---|---|
small |
SMPLer-X-S | ๋น ๋ฆ |
base |
SMPLer-X-B | ๋ณดํต |
huge |
SMPLest-X-H | ๋๋ฆผ (๊ณ ์ ๋ฐ) |
์ค์น
1. ๋ ํฌ ํด๋ก
# ์ฝ๋ + ๊ฐ์ค์น ์ ์ฒด ๋ค์ด๋ก๋ (์ฝ 10GB, LFS ํ์)
git lfs install
git clone https://huggingface.co/tomark/human-pose-estimation
cd human-pose-estimation
๊ฐ์ค์น๋ง ์ ์ธํ๊ณ ์ฝ๋๋ง ๋จผ์ ๋ฐ์ผ๋ ค๋ฉด:
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/tomark/human-pose-estimation
cd human-pose-estimation
2. ๊ฐ์ค์น ๊ฐ๋ณ ๋ค์ด๋ก๋ (์ ํ)
์ฝ๋๋ง ํด๋ก ํ ๊ฒฝ์ฐ ์๋ ๋ช ๋ น์ผ๋ก ํ์ํ ํ์ผ๋ง ๋ฐ์ ์ ์์ต๋๋ค.
pip install huggingface_hub
python - <<'EOF'
from huggingface_hub import hf_hub_download
# YOLOv8 (์ธ์ฒด ๊ฒ์ถ)
hf_hub_download("tomark/human-pose-estimation", "pretrained_models/yolov8x.pt", local_dir=".")
# SMPLer-X (small / base ์ค ํ์ํ ๊ฒ๋ง)
hf_hub_download("tomark/human-pose-estimation", "pretrained_models/smpler_x_s32.pth.tar", local_dir=".")
hf_hub_download("tomark/human-pose-estimation", "pretrained_models/smpler_x_b32.pth.tar", local_dir=".")
# SMPLest-X-H (huge, 7.7GB)
hf_hub_download("tomark/human-pose-estimation", "pretrained_models/smplest_x_h/smplest_x_h.pth.tar", local_dir=".")
hf_hub_download("tomark/human-pose-estimation", "pretrained_models/smplest_x_h/config_base.py", local_dir=".")
EOF
3. SMPL-X ์ธ์ฒด ๋ชจ๋ธ ํ์ผ ๋ค์ด๋ก๋
SMPLest-X-H ์ฌ์ฉ ์ ํ์ํฉ๋๋ค. SMPL-X ๊ณต์ ์ฌ์ดํธ์์ ๊ณ์ ์์ฑ ํ ๋ค์ด๋ก๋.
๋ค์ด๋ก๋ํ ํ์ผ์ ์๋ ๊ฒฝ๋ก์ ๋ฐฐ์น:
SMPLest-X/human_models/human_model_files/smplx/
โโโ SMPLX_NEUTRAL.npz
โโโ SMPLX_NEUTRAL.pkl
โโโ SMPLX_MALE.npz
โโโ SMPLX_MALE.pkl
โโโ SMPLX_FEMALE.npz
โโโ SMPLX_FEMALE.pkl
โโโ SMPLX_to_J14.pkl
โโโ MANO_SMPLX_vertex_ids.pkl
โโโ SMPL-X__FLAME_vertex_ids.npy
โโโ smplx_npz.zip
4. Python ํจํค์ง ์ค์น
pip install -r SMPLer-X/requirements.txt
pip install -r SMPLest-X/requirements.txt
์ฌ์ฉ๋ฒ
# SMPLer-X Small (๊ธฐ๋ณธ, ๊ฐ์ฅ ๋น ๋ฆ)
python run.py --variant small
# SMPLer-X Base
python run.py --variant base
# SMPLest-X Huge (๊ณ ์ ๋ฐ)
python run.py --variant huge
# ์นด๋ฉ๋ผ ์ธ๋ฑ์ค ๋ฐ ํฌํธ ์ง์
python run.py --variant small --cam0 0 --cam1 1 --port 5000
์คํ ํ ๋ธ๋ผ์ฐ์ ์์ http://localhost:5000 ์ ์.
๋๋ ํ ๋ฆฌ ๊ตฌ์กฐ
.
โโโ run.py # ๋ฉ์ธ ์๋ฒ (๋์ผ ์นด๋ฉ๋ผ)
โโโ web.py # Flask ์น UI
โโโ camera.py # ์นด๋ฉ๋ผ ์บก์ฒ ๋ชจ๋
โโโ smpler.py # SMPLer-X ๋ก๋
โโโ smplest.py # SMPLest-X ๋ก๋
โโโ pretrained_models/ # ๊ฐ์ค์น (LFS)
โ โโโ yolov8x.pt
โ โโโ smpler_x_s32.pth.tar
โ โโโ smpler_x_b32.pth.tar
โ โโโ smplest_x_h/
โ โโโ smplest_x_h.pth.tar
โโโ SMPLer-X/ # SMPLer-X ์๋ธ๋ชจ๋
โโโ SMPLest-X/ # SMPLest-X ์๋ธ๋ชจ๋
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support