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 ์„œ๋ธŒ๋ชจ๋“ˆ
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support