jcjohnson / pytorch-vgg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libprotobuf ERROR google/protobuf/text_format.cc:288

zhong-xin opened this issue · comments

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