colorization icon indicating copy to clipboard operation
colorization copied to clipboard

No to_python converter for caffe::LayerParameter

Open bisonliao opened this issue 5 years ago • 0 comments

hi, rich, I download your modified caffe and build it on windows10/64bit successfully ( I modified some caffe code for windows) .
But when I run it to train the model as you instructions, I go error message and caffe exited.

Can you give me some suggestions, please?

the logs are as follow: ... layer { name: "loss8_313" type: "SoftmaxCrossEntropyLoss" bottom: "conv8_313_boost" bottom: "gt_ab_313" top: "loss8_313" loss_weight: 1 } I0330 22:20:36.563905 8628 layer_factory.hpp:88] Creating layer data I0330 22:20:36.565873 8628 common.cpp:33] System entropy source not available, using fallback algorithm to generate seed instead. I0330 22:20:36.567867 8628 net.cpp:91] Creating Layer data I0330 22:20:36.567867 8628 net.cpp:399] data -> data I0330 22:20:36.570858 17528 common.cpp:33] System entropy source not available, using fallback algorithm to generate seed instead. I0330 22:20:36.571856 17528 db_lmdb.cpp:36] Opened lmdb E:\DeepLearning\colorization-master\train\train_data I0330 22:20:36.574877 8628 data_layer.cpp:41] output data size: 40,3,176,176 I0330 22:20:36.616763 8628 base_data_layer.cpp:69] Initializing prefetch I0330 22:20:36.616763 8628 base_data_layer.cpp:72] Prefetch initialized. I0330 22:20:36.626879 8628 net.cpp:141] Setting up data I0330 22:20:36.630216 8628 net.cpp:148] Top shape: 40 3 176 176 (3717120) I0330 22:20:36.632238 7280 common.cpp:33] System entropy source not available, using fallback algorithm to generate seed instead. I0330 22:20:36.632238 8628 net.cpp:156] Memory required for data: 14868480 I0330 22:20:36.644273 8628 layer_factory.hpp:88] Creating layer img_lab I0330 22:20:36.871665 7280 data_layer.cpp:102] Prefetch batch: 232 ms. I0330 22:20:36.871665 7280 data_layer.cpp:103] Read time: 0 ms. I0330 22:20:36.873659 7280 data_layer.cpp:104] Transform time: 226.384 ms. I0330 22:20:37.121021 7280 data_layer.cpp:102] Prefetch batch: 244 ms. I0330 22:20:37.121021 7280 data_layer.cpp:103] Read time: 0 ms. I0330 22:20:37.123991 7280 data_layer.cpp:104] Transform time: 240.381 ms. I0330 22:20:37.368335 7280 data_layer.cpp:102] Prefetch batch: 242 ms. I0330 22:20:37.369333 7280 data_layer.cpp:103] Read time: 2.022 ms. I0330 22:20:37.370330 7280 data_layer.cpp:104] Transform time: 233.297 ms. TypeError: No to_python (by-value) converter found for C++ type: class caffe::LayerParameter

bisonliao avatar Mar 30 '19 14:03 bisonliao