pytorch-openpose icon indicating copy to clipboard operation
pytorch-openpose copied to clipboard

convert openpose caffemodel to pytorch model

Open zgsxwsdxg opened this issue 4 years ago • 4 comments

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!

zgsxwsdxg avatar Sep 23 '20 09:09 zgsxwsdxg

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

huangyibo1996 avatar Jan 04 '21 07:01 huangyibo1996

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

zgsxwsdxg avatar Jan 07 '21 03:01 zgsxwsdxg

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.

huangyibo1996 avatar Jan 07 '21 03:01 huangyibo1996

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.

zgsxwsdxg avatar Jan 07 '21 04:01 zgsxwsdxg