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

libprotobuf ERROR google/protobuf/text_format.cc:288 #9

Open
zhong-xin opened this issue May 11, 2018 · 0 comments
Open

libprotobuf ERROR google/protobuf/text_format.cc:288 #9

zhong-xin opened this issue May 11, 2018 · 0 comments

Comments

@zhong-xin
Copy link

when I run "th caffemodel_to_t7.lua" .
I got the following error.

[libprotobuf ERROR google/protobuf/text_format.cc:288] Error parsing text-format caffe.NetParameter: 42:14: Message type "caffe.PythonParameter" has no field named "param_str".
Successfully loaded /home/xin/pytorch-vgg-master/snapshot_iter_2320.caffemodel
warning: module 'train-data [type Data]' not found
warning: module 'data_aug [type Python]' not found
warning: module 'sub_mean [type Scale]' not found
warning: module 'conv1_srelu1_1 [type Scale]' not found
warning: module 'conv1_srelu1_3 [type Scale]' not found
warning: module 'pool1_pool1_0_split [type Split]' not found
warning: module 'res1_1_1_srelu_1 [type Scale]' not found
warning: module 'res1_1_1_srelu_3 [type Scale]' not found
warning: module 'res1_1_sum [type Eltwise]' not found
warning: module 'res1_1_srelu_1 [type Scale]' not found
warning: module 'res1_1_srelu_3 [type Scale]' not found
warning: module 'res1_1_res1_1_srelu_3_0_split [type Split]' not found
warning: module 'res1_2_1_srelu_1 [type Scale]' not found
warning: module 'res1_2_1_srelu_3 [type Scale]' not found
warning: module 'res1_2_sum [type Eltwise]' not found
warning: module 'res1_2_srelu_1 [type Scale]' not found
warning: module 'res1_2_srelu_3 [type Scale]' not found
warning: module 'res1_2_res1_2_srelu_3_0_split [type Split]' not found
warning: module 'res2_1_1_srelu_1 [type Scale]' not found
warning: module 'res2_1_1_srelu_3 [type Scale]' not found
warning: module 'res2_1_sum [type Eltwise]' not found
warning: module 'res2_1_srelu_1 [type Scale]' not found
warning: module 'res2_1_srelu_3 [type Scale]' not found
warning: module 'res2_1_res2_1_srelu_3_0_split [type Split]' not found
warning: module 'res2_2_1_srelu_1 [type Scale]' not found
warning: module 'res2_2_1_srelu_3 [type Scale]' not found
warning: module 'res2_2_sum [type Eltwise]' not found
warning: module 'res2_2_srelu_1 [type Scale]' not found
warning: module 'res2_2_srelu_3 [type Scale]' not found
warning: module 'res2_2_res2_2_srelu_3_0_split [type Split]' not found
warning: module 'res3_1_1_srelu_1 [type Scale]' not found
warning: module 'res3_1_1_srelu_3 [type Scale]' not found
warning: module 'res3_1_sum [type Eltwise]' not found
warning: module 'res3_1_srelu_1 [type Scale]' not found
warning: module 'res3_1_srelu_3 [type Scale]' not found
warning: module 'res3_1_res3_1_srelu_3_0_split [type Split]' not found
warning: module 'res3_2_1_srelu_1 [type Scale]' not found
warning: module 'res3_2_1_srelu_3 [type Scale]' not found
warning: module 'res3_2_sum [type Eltwise]' not found
warning: module 'res3_2_srelu_1 [type Scale]' not found
warning: module 'res3_2_srelu_3 [type Scale]' not found
warning: module 'res3_2_res3_2_srelu_3_0_split [type Split]' not found
warning: module 'res4_1_1_srelu_1 [type Scale]' not found
warning: module 'res4_1_1_srelu_3 [type Scale]' not found
warning: module 'res4_1_sum [type Eltwise]' not found
warning: module 'res4_1_srelu_1 [type Scale]' not found
warning: module 'res4_1_srelu_3 [type Scale]' not found
warning: module 'res4_1_res4_1_srelu_3_0_split [type Split]' not found
warning: module 'res4_2_1_srelu_1 [type Scale]' not found
warning: module 'res4_2_1_srelu_3 [type Scale]' not found
warning: module 'res4_2_sum [type Eltwise]' not found
warning: module 'res4_2_srelu_1 [type Scale]' not found
warning: module 'res4_2_srelu_3 [type Scale]' not found
warning: module 'pool_avg_pool_avg_0_split [type Split]' not found
warning: module 'cee_loss [type Python]' not found
conv1: 64 3 7 7
res1_1_1: 64 64 3 3
res1_1_2: 64 64 3 3
res1_2_1: 64 64 3 3
res1_2_2: 64 64 3 3
res2_1_1: 128 64 3 3
res2_1_2: 128 128 3 3
res2_1_proj: 128 64 1 1
res2_2_1: 128 128 3 3
res2_2_2: 128 128 3 3
res3_1_1: 256 128 3 3
res3_1_2: 256 256 3 3
res3_1_proj: 256 128 1 1
res3_2_1: 256 256 3 3
res3_2_2: 256 256 3 3
res4_1_1: 512 256 3 3
res4_1_2: 512 512 3 3
res4_1_proj: 512 256 1 1
res4_2_1: 512 512 3 3
res4_2_2: 512 512 3 3
fc3: 1 1 512 3
fc3_t: 1 1 512 3
/home/xin/torch/install/bin/luajit: caffemodel_to_t7.lua:26: assertion failed!
stack traceback:
[C]: in function 'assert'
caffemodel_to_t7.lua:26: in main chunk
[C]: in function 'dofile'
.../xin/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50

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

1 participant