Skip to content
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

Training on FLIC #60

Open
ekkravchenko opened this issue Oct 10, 2017 · 6 comments
Open

Training on FLIC #60

ekkravchenko opened this issue Oct 10, 2017 · 6 comments

Comments

@ekkravchenko
Copy link

Hi!

I tried to replicate your results on FLIC and got an error when slicing the label. I used the 'genJSON.m' as it is, 'genLMDB.py' with changes of 'FLIC' dataset location, and modified 'genProto.py' as mentioned in the tutorial. In 'genProto.py' I changed the number of stages to be 4, slice parameter to be 10 (# joints + background) and 'outCH' (# of output channel of the convolutional layer before loss) to be 10. When I try to train the network with obtained .prototxt the label of size 16x30x46x46 is getting sliced into 16x10x46x46 and 16x20x46x46 correspondingly, resulting in the following error:

F1010 13:48:06.188012 50300 euclidean_loss_layer.cpp:18] Check failed: bottom[0]->count(1) == bottom[1]->count(1) (21160 vs. 42320) Inputs must have the same dimension.
*** Check failure stack trace: ***
    @     0x2b7b002d6e6d  (unknown)
    @     0x2b7b002d8ced  (unknown)
    @     0x2b7b002d6a5c  (unknown)
    @     0x2b7b002d963e  (unknown)
    @     0x2b7af8d287da  caffe::EuclideanLossLayer<>::Reshape()
    @     0x2b7af8dd83ec  caffe::Net<>::Init()
    @     0x2b7af8dd9265  caffe::Net<>::Net()
    @     0x2b7af8de6fba  caffe::Solver<>::InitTrainNet()
    @     0x2b7af8de80bc  caffe::Solver<>::Init()
    @     0x2b7af8de83ea  caffe::Solver<>::Solver()
    @     0x2b7af8e00053  caffe::Creator_SGDSolver<>()
    @           0x40f52e  caffe::SolverRegistry<>::CreateSolver()
    @           0x408592  train()
    @           0x40601c  main
    @     0x2b7b0a61cb15  __libc_start_main
    @           0x40688d  (unknown)

Could you let me know what adjustments should I perform to make it work?

@hongge831
Copy link

I have the same problem, help

@hongge831
Copy link

@ekkravchenko hvae you solve the problem?

@dingruoxiu
Copy link

有人解决这个问题吗 ?

@1Rookiechang
Copy link

have you download the pretrained model?can you share it with me.
because the download site cannot open.thank you very much!
827927604@qq.com

@centosrhel
Copy link

@shihenw I have encountered a similar problem. could you please provide some help about modifying related code? Thanks

@nzzfsw
Copy link

nzzfsw commented Aug 6, 2018

you only need to add "number_parts: 9" in transform_param

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants