Closed zeyuanlicbpm closed 6 years ago
when I execute the python convert_pose_model.py pose_iter_116000.caffemodel met the above errors
That's wrong file. You should use convert_face_model.py
to convert that face model.
Oh, I know! thank you! but why thers is the warnings "since CaffeFunction does notsupport EuclideanLoss layer" ?
It is because loss layer
and data layer
in chainer is not defined as "Link".
But we don't use those functions in inference, so don't care.
thank you!!!
By the way, I updated convert_model.py
script and README. You can use the new version of script like following.
cd models
wget http://posefs1.perception.cs.cmu.edu/OpenPose/models/pose/coco/pose_iter_440000.caffemodel
wget http://posefs1.perception.cs.cmu.edu/OpenPose/models/face/pose_iter_116000.caffemodel
wget http://posefs1.perception.cs.cmu.edu/OpenPose/models/hand/pose_iter_102000.caffemodel
python convert_model.py posenet pose_iter_440000.caffemodel coco_posenet.npz
python convert_model.py facenet pose_iter_116000.caffemodel facenet.npz
python convert_model.py handnet pose_iter_102000.caffemodel handnet.npz
cd ..
OK! compared with Caffe or tensorflow, the speed of chainer is faster in the same environment ?
Em...I have not tried Caffe and tensorflow version yet, so I'm not sure which one is better. But I think the original Caffe version is the fastest because it is written with C.
I install Chainer in windows 10 and anaconda virtual environment, and import chainer successfully. But, I met the information:
I just guess the reason is that there is no cpm layers when you compile the caffe interface. Can you tell me the reason? how I can solve the problems! thanks!!!!