MVIG-SJTU / AlphaPose

Real-Time and Accurate Full-Body Multi-Person Pose Estimation&Tracking System
http://mvig.org/research/alphapose.html
Other
7.86k stars 1.96k forks source link

model train and validation how can i? #1104

Open arkpak opened 1 year ago

arkpak commented 1 year ago

how can i solve this error?

this code error: !scripts/validate.sh --cfg /content/drive/MyDrive/AlphaPose/AlphaPose/configs/coco/resnet/256x192_res50_lr1e-3_1x.yaml --checkpoint /content/drive/MyDrive/AlphaPose/AlphaPose/pretrained_models/fast_res50_256x192.pth

scripts/validate.sh: Permission denied

! scripts /content/drive/MyDrive/AlphaPose/AlphaPose/scripts/train.sh configs /content/drive/MyDrive/AlphaPose/AlphaPose/configs/halpe_26/resnet/256x192_res50_lr1e-3_1x.yaml

/bin/bash: scripts: command not found

nistring commented 1 year ago

Have you tried bash scripts/validate.sh

arkpak commented 1 year ago

친절한 답변 감사합니다. 메일을 이제 확인해서 말씀하신 방법으로 해보고 있는 중입니다. !bash scripts/validate.sh

validate.py: error: argument --cfg: expected one arguent

!bash scripts/train.sh configs/halpe_26/resnet/256x192_res50_lr1e-3_1x.yaml

FileNotFoundError: [Errno 2] No such file or directory: './data/halpe/annotations/halpe_train_v1.json' 말씀하신 방법으로 했을 때 위의 오류가 뜨는데 colab으로 실행한 것이 문제일까요???

-----Original Message----- From: @.> To: @.>; Cc: @.>; @.>; Sent: 2022-12-23 (금) 22:42:00 (GMT+09:00) Subject: Re: [MVIG-SJTU/AlphaPose] model train and validation how can i? (Issue #1104)

Have you tried bash scripts/validate.sh — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

arkpak commented 1 year ago

친절한 답변 감사합니다. 메일을 이제 확인해서 말씀하신 방법으로 해보고 있는 중입니다. 말씀하신 방법으로해도 오류가 나서 어떻게 해야될지 잘 모르겠어서 이렇게 메일을 드립니다 !bash scripts/validate.sh

validate.py: error: argument --cfg: expected one arguent

!bash scripts/train.sh configs/halpe_26/resnet/256x192_res50_lr1e-3_1x.yaml

FileNotFoundError: [Errno 2] No such file or directory: './data/halpe/annotations/halpe_train_v1.json' 말씀하신 방법으로 했을 때 위의 오류가 뜨는데 colab으로 실행한 것이 문제일까요???

아 그리고 혹시 실례가 안된다면 exp_id가 뭔지 alphapose 홈페이지를 뒤져봐도 안나오는데 혹시 어떤건지 아시나요?? -----Original Message----- From: @.> To: @.>; Cc: @.>; @.>; Sent: 2022-12-23 (금) 22:42:00 (GMT+09:00) Subject: Re: [MVIG-SJTU/AlphaPose] model train and validation how can i? (Issue #1104)

Have you tried bash scripts/validate.sh — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

nistring commented 1 year ago

다른 분이 보실 수도 있어서 되도록 영어로 작성하려하니 개의치 않으셔도 됩니다.

You can download halpe dataset here. Or, I think it's better to just use Halpecocotools API by installing pip install helpecocotools in your colab environment.

I think exp_id litterally means the designated name of the experiment run. As it can be seen in opt.py, exp_id is set as alphapose and I guess you should find a folder named alphapose after your run.

You can refer to and modify the shell script file by yourself. This would be helpful for you. https://blog.d0ngd0nge.xyz/shell-script/