-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trainning Errror #29
Comments
You specified model as COCO_17, so it is expecting 17 body keypoints. Change to the other models for higher number of keypoints. |
I have the same problem. waitting for help |
sAddFoot =sAddMpii=sAddFace=sAddHands=sAddDome=0 |
I have the same problem as well. I am trying to train my model only on body (sAddFoot =sAddMpii=sAddFace=sAddHands=sAddDome=0) with the lmdb body coco dataset I generated by running a_lmdbGetBody.sh . |
I solve it by modifying 17 to 18 in line 57 and the model should be COCO_18. |
Hi All, I am getting the following error: any idea? I printed the size of mSources() and mModels.size() there are 1 and 2 in respective. I also did set sAddFoot=0,sAddMpii=0, sAddFace=0 and sAddHands=0,sAddDome=0 Here is the first layers: layer { |
Hello. I have meet a problem that can't be solved by myself. Please help me.
I want just train model as origin model that output 18 points of body.
First, I have generated the COCO dataset LMDB files(without foot、hand、face dataset) by myself followed your step descriped at /Train/README.md.
I modified the c_generateLmdbs.py file by uncommented line 136 and line 164, other code not modified.
Second, I have finished complied Caffe. Runing script file generateProtoTxt.py generate the Caffe ProtoTxt . I modified generateProtoTxt.py follow README.md, set sAddFoot=0,sAddMpii=0, sAddFace=0 and sAddHands=0,sAddDome=0,sProbabilityOnlyBackground=0, sSuperModel=0,.
my pose_trianing.prototxt is like this:(data layer)
layer {
name: "image"
type: "OPData"
top: "image"
top: "label"
data_param {
batch_size: 10
backend: LMDB
}
op_transform_param {
stride: 8
max_rotate_degree: 45
crop_size_x: 368
crop_size_y: 368
center_perterb_max: 40.0
center_swap_prob: 0.0
scale_prob: 1.0
scale_min: 0.333333333
scale_max: 1.5
target_dist: 0.6
number_max_occlusions: 2
sigmas: "7.0"
model: "COCO_17;COCO_17_17"
source_background: "/mnt/zhong/openpose_train/dataset/lmdb_background"
source: "/mnt/zhong/openpose_train/dataset/lmdb_coco"
media_directory:""
normalization: 0
add_distance: false
}
}
Error:
I run the comand "bash train_pose.sh”. Meet next error:
terminate called after throwing an instance of 'std::runtime_error'
what(): Error: mSources.size()!=nModels.size() at 56, OPDatalayer. src/caffe/openpose/layers/oPDatalayer.cpp
*** Aborted at 1581070034(unix time ) try "data -d @1581070034" if you are using GUN data ***
.....
Does it only train model which output 25 points (Body+ Foot)? Can't train model which output 18 points(Body) as origin openPose?
The text was updated successfully, but these errors were encountered: