Hzzone / pytorch-openpose

pytorch implementation of openpose including Hand and Body Pose Estimation.
2.07k stars 395 forks source link

convert openpose caffemodel to pytorch model #37

Open zgsxwsdxg opened 4 years ago

zgsxwsdxg commented 4 years ago

Hello, convert tool :https://github.com/vadimkantorov/caffemodel2pytorch caffemodel:(from https://github.com/CMU-Perceptual-Computing-Lab/openpose_train/tree/master/experimental_models) http://posefs1.perception.cs.cmu.edu/OpenPose/models/pose/1_25BBkg/body_25b/pose_iter_XXXXXX.caffemodel

when I convert caffemodel ,what happen as follow: Skipping layer [prelu4_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [prelu4_3_CPM, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [prelu4_4_CPM, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu1_stage0_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu1_stage0_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu1_stage0_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv1_stage0_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu2_stage0_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu2_stage0_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu2_stage0_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv2_stage0_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu3_stage0_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu3_stage0_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu3_stage0_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv3_stage0_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu4_stage0_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu4_stage0_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu4_stage0_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv4_stage0_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu5_stage0_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu5_stage0_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu5_stage0_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv5_stage0_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu6_stage0_L2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [concat_stage1_L2, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu1_stage1_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu1_stage1_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu1_stage1_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv1_stage1_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu2_stage1_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu2_stage1_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu2_stage1_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv2_stage1_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu3_stage1_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu3_stage1_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu3_stage1_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv3_stage1_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu4_stage1_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu4_stage1_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu4_stage1_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv4_stage1_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu5_stage1_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu5_stage1_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu5_stage1_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv5_stage1_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu6_stage1_L2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [concat_stage2_L2, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu1_stage2_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu1_stage2_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu1_stage2_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv1_stage2_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu2_stage2_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu2_stage2_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu2_stage2_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv2_stage2_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu3_stage2_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu3_stage2_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu3_stage2_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv3_stage2_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu4_stage2_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu4_stage2_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu4_stage2_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv4_stage2_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu5_stage2_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu5_stage2_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu5_stage2_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv5_stage2_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu6_stage2_L2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [concat_stage3_L2, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu1_stage3_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu1_stage3_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu1_stage3_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv1_stage3_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu2_stage3_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu2_stage3_L2_1, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu2_stage3_L2_2, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict Skipping layer [Mconv2_stage3_L2_concat, Concat, Concat]: not found in caffemodel2pytorch.modules dict Skipping layer [Mprelu3_stage3_L2_0, PReLU, PReLU]: not found in caffemodel2pytorch.modules dict

can you help me?thx!

huangyibo1996 commented 3 years ago

Do you solve this problem? Could you please send the 25 keypoints model to me if you were overcome it.

zgsxwsdxg commented 3 years ago

Do you solve this problem? Could you please send the 25 keypoints model to me if you were overcome it.

Of course,because the model file is too large, How can I send it to you?Or,I give you the url of model as follow:http://posefs1.perception.cs.cmu.edu/OpenPose/models/pose/1_25BBkg/body_25b/pose_iter_XXXXXX.caffemodel

huangyibo1996 commented 3 years ago

I am sorry I didn't make myself clear. I need a pytorch version model, however, I cannot successfully run this code(caffemodel2pytorch) which mentioned in your repo. I would really appreciate if you send the pytorch version model to me. Thanks a lot.

You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

zgsxwsdxg commented 3 years ago

I am sorry I didn't make myself clear. I need a pytorch version model, however, I cannot successfully run this code(caffemodel2pytorch) which mentioned in your repo. I would really appreciate if you send the pytorch version model to me. Thanks a lot. You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Sorry,I haven't solved it yet.