Message type "caffe.LayerParameter" has no field named "shuffle_channel_param"
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.
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.
@yanyanxixi Have you make pycaffe successfully?
@farmingyard thanks a million
I have the same propblem. Have u solved it ?
想问下,shuffle Channel 具体的操作是怎样的,看了论文也不太清楚具体的操作,是直接任意打乱再均分到下一层不同group,还是有其它的做法,还有就是反传的时候会对shuflle Channel 有什么调整吗,谢谢
@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.
@XingyuXie Thanks a lot!
@XingyuXie 你好,请问在训练ShuffleNet时是不是需要 下面内容添加到caffe.proto中然后重新编译caffe? optional ShuffleChannelParameter shuffle_channel_param = 164; }
message ShuffleChannelParameter { optional uint32 group = 1[default = 1]; // The number of group }
@LiuRJun 是的
@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.
my problem is about pycaffe. not make, can you use draw_net.py to draw this net successfully? @houxiaoxia1
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
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
@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
@DanChen001 did you solve this problem?