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

Message type "caffe.LayerParameter" has no field named "shuffle_channel_param" #10

Open
XingyuXie opened this issue Aug 4, 2017 · 15 comments

Comments

@XingyuXie
Copy link

I have added the shuffle layer into caffe, and run 'make all' successfully.
And I have trained the model with shuffle layer successfully.
But when I run the test code in C++, there is an error 'Error parsing text-format caffe.NetParameter: 109:25: Message type "caffe.LayerParameter" has no field named "shuffle_channel_param". I have already added it in caffe.proto, why this problem still exists?
Thanks a lot.

@yanyanxixi
Copy link

when i use draw_net.py to draw this net ,also have this error:Message type "caffe.LayerParameter" has no field named "shuffle_channel_param"
and make successfully, hope your reply.
thanks a lot.

@farmingyard
Copy link
Owner

@yanyanxixi
Have you make pycaffe successfully?

@yanyanxixi
Copy link

@farmingyard thanks a million

@CyrilYang
Copy link

I have the same propblem. Have u solved it ?

@CLAPoo
Copy link

CLAPoo commented Aug 23, 2017

想问下,shuffle Channel 具体的操作是怎样的,看了论文也不太清楚具体的操作,是直接任意打乱再均分到下一层不同group,还是有其它的做法,还有就是反传的时候会对shuflle Channel 有什么调整吗,谢谢

@XingyuXie
Copy link
Author

@CyrilYang The model still cannot run on the docker. But there is no problem on my own ubuntu. So I ran it on my local ubuntu instead.

@CyrilYang
Copy link

@XingyuXie Thanks a lot!

@LiuRJun
Copy link

LiuRJun commented Sep 5, 2017

@XingyuXie 你好,请问在训练ShuffleNet时是不是需要 下面内容添加到caffe.proto中然后重新编译caffe?
optional ShuffleChannelParameter shuffle_channel_param = 164;
}

message ShuffleChannelParameter {
optional uint32 group = 1[default = 1]; // The number of group
}

@XingyuXie
Copy link
Author

@LiuRJun 是的

@houxiaoxia1
Copy link

@farmingyard @yanyanxixi how did you deal with error: :Message type "caffe.LayerParameter" has no field named "shuffle_channel_param"? I make pycaffe successfully, but when I test the pre_trained model with python I met this error. I need your help.

@yanyanxixi
Copy link

yanyanxixi commented Nov 14, 2017

my problem is about pycaffe. not make, can you use draw_net.py to draw this net successfully? @houxiaoxia1

@houxiaoxia1
Copy link

I can draw this net successfully. but I can't use the deploy.prototxt with to test picture.
my code:
import caffe
import glob
import os
import cv2

WEIGHTS_FILE = '/home//caffe/shufflenet_step2_iter_5000.caffemodel'
DEPLOY_FILE = '/home/
/caffe/models/shufflenet/shufflenet_1x_g3_deploy.prototxt'
I met the error when I test a picture. @yanyanxixi @farmingyard

@DanChen001
Copy link

Hi, did you guys solve this problem? I can train this network successfully. However, when i do testing, i have the same problem:

Message type "caffe.LayerParameter" has no field named "shuffle_channel_param".

Thanks

@DanChen001
Copy link

@farmingyard I can train this network successfully. However, when i do testing, i have the this problem:
Message type "caffe.LayerParameter" has no field named "shuffle_channel_param".

do you know how to solve this problem? thanks

@miaomi1994
Copy link

@DanChen001 did you solve this problem?

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

9 participants