18 lines
617 B
Markdown
18 lines
617 B
Markdown
# Market-1501 Person Attribute Recognition
|
|
|
|
이미지 URL과 사람 영역(`xywh`)으로 나이, 성별, 의상 색상 등 Market-1501 속성을 추론합니다.
|
|
|
|
`person_attr.py`와 `net_last.pth`를 같은 디렉터리에 두고 실행하세요.
|
|
|
|
```bash
|
|
pip install -r requirements.txt
|
|
uv run python person_attr.py \
|
|
--image_url "https://example.com/image.jpg" \
|
|
--xywh "404,290,74,193"
|
|
```
|
|
|
|
- `--image_url`: 이미지 URL 또는 로컬 경로
|
|
- `--xywh`: 좌상단 기준 `x,y,w,h`
|
|
|
|
결과는 ClearML Task(`Person_Attribute_Recognition` / `person_attribute`)에 `final_result` artifact로 업로드됩니다.
|