You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also downloaded the pretrained model by myself and put it in the mmpose.
Using this env, this command
{ python demo/bottom_up_img_demo.py
configs/body/2d_kpt_sview_rgb_img/associative_embedding/coco/higherhrnet_w48_coco_512x512_udp.py higher_hrnet48_coco_512x512_udp-7cad61ef_20210222.pth --img-path /root/ml-neuman-main/preprocess/data/my_video/output/images --out-img-root /root/ml-neuman-main/preprocess/data/my_video/output/keypoints --kpt-thr=0.3 --pose-nms-thr=0.9 }
can be run successfully.
Howerve, when I ran the command bash -i run.sh, all the steps can run successfully but the tenth step.
the output are like this.
And the error from the tenth step
I looked up the output in keypoints
the output is .jpg images instead of a .npy files.
I looked up the code in /mmpose/demo/bottom_up_img_demo.py and found that save operation only exists in method vis_pose_result
I steped into the method vis_pose_result. And found that no code to save the result as .npy files.
Has anyone encountered the same issue? How can I save the result as .npy file with correct format?
The text was updated successfully, but these errors were encountered:
nothonfz
changed the title
wrong output in keypoints prediction in preprocess
wrong output format in keypoints prediction in preprocess
Jul 15, 2024
nothonfz
changed the title
wrong output format in keypoints prediction in preprocess
Wrong output format in keypoints prediction in preprocess
Jul 15, 2024
nothonfz
changed the title
Wrong output format in keypoints prediction in preprocess
Wrong output format when predicting keypoints in preprocess
Jul 15, 2024
I preprocess my own data, and when predicting keypoints, the output is .jpg images instead of a .npy files.
I cloned a specific repository using the link provided in the Dockerfile, using the command git clone --recurse-submodules https://github.com/jiangwei221/mmpose.git.
Then, I created the open-mmlab env with python 3.8 and the following commands.
I also downloaded the pretrained model by myself and put it in the mmpose.
Using this env, this command
{ python demo/bottom_up_img_demo.py
configs/body/2d_kpt_sview_rgb_img/associative_embedding/coco/higherhrnet_w48_coco_512x512_udp.py higher_hrnet48_coco_512x512_udp-7cad61ef_20210222.pth --img-path /root/ml-neuman-main/preprocess/data/my_video/output/images --out-img-root /root/ml-neuman-main/preprocess/data/my_video/output/keypoints --kpt-thr=0.3 --pose-nms-thr=0.9 }
can be run successfully.
Howerve, when I ran the command bash -i run.sh, all the steps can run successfully but the tenth step.
![e721068461a39254aaf19423e3cf224](https://private-user-images.githubusercontent.com/150220124/348759197-b851dfa3-6820-4bab-a184-1c709d0debc9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NTQyNzAsIm5iZiI6MTczOTY1Mzk3MCwicGF0aCI6Ii8xNTAyMjAxMjQvMzQ4NzU5MTk3LWI4NTFkZmEzLTY4MjAtNGJhYi1hMTg0LTFjNzA5ZDBkZWJjOS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQyMTEyNTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kMDlmZGE4M2IyMWE0ZTUzZDc0YjgzNmNlYjE1OGYwZDZmY2Y1ZjUzMjY4MmQzYWIzZjM1M2NmMjA2NjAwMDMwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.6zEArvYzU-d49zBo0rYRUBSIc5UDvCf0ffXo7ax4hMc)
![image](https://private-user-images.githubusercontent.com/150220124/348758527-f05f7cf1-4ffe-47c6-8e9d-c4e1c64ac02e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NTQyNzAsIm5i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MDIxNVQyMTEyNTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zMjk1ZmRlMjkzZDdlYWI3ZTUwYjcwZGZhODc4OTY5MWU2MWYwOGU2OGVhNzk1YTBiYmMzNjE0ZDA4MmNiZDAzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.qCRWzXwXPWwlyS58xZm9-XbrGRHcUB44myhyPjUHuC8)
the output are like this.
And the error from the tenth step
I looked up the output in keypoints
the output is .jpg images instead of a .npy files.
I looked up the code in /mmpose/demo/bottom_up_img_demo.py and found that save operation only exists in method vis_pose_result
![eed7376d4ab10ec3c88edc080793977](https://private-user-images.githubusercontent.com/150220124/348761145-a5c882d9-d8cf-4460-9d65-999e3a862f62.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NTQyNzAsIm5iZiI6MTczOTY1Mzk3MCwicGF0aCI6Ii8xNTAyMjAxMjQvMzQ4NzYxMTQ1LWE1Yzg4MmQ5LWQ4Y2YtNDQ2MC05ZDY1LTk5OWUzYTg2MmY2Mi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQyMTEyNTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kNGMxYWVkMDQ2YmQxZDNmMjkxM2U4ZWI4Yzg1YjhjY2ZmZGY2YjBkY2U3NzA2OWYyMzg4ODE2MmNkYzk0MDViJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.cneoKs3lR2eOx7byNAYuQ2Hgr1Eu1BkEYD81EhAo82I)
![afd5d7088928c078a5b698ed7427009](https://private-user-images.githubusercontent.com/150220124/348761848-b0397bdd-4675-44c6-98cc-b618a0e8dc7b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NTQyNzAsIm5iZiI6MTczOTY1Mzk3MCwicGF0aCI6Ii8xNTAyMjAxMjQvMzQ4NzYxODQ4LWIwMzk3YmRkLTQ2NzUtNDRjNi05OGNjLWI2MThhMGU4ZGM3Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNVQyMTEyNTBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wYjFiOWM2MTc4Y2IwOWVmYTM1ZDdlNGY5Zjg1NzEyMTE5Y2JiOGYxNjFjODJmNzYzOWIzMDMxNTI2ZDY1NTNmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.GJTUyZdW9Hxlv0ZPjXpu-5nw5qI6BwEjAFK-mOvqhMw)
I steped into the method vis_pose_result. And found that no code to save the result as .npy files.
Has anyone encountered the same issue? How can I save the result as .npy file with correct format?
The text was updated successfully, but these errors were encountered: