c++ - What does 'Attempting to upgrade input file specified using deprecated transformation parameters' mean? -


i trying train first net caffe. following output:

caffe train --solver=first_net_solver.prototxt i0515 09:01:06.577710 15331 caffe.cpp:117] use cpu. i0515 09:01:06.578014 15331 caffe.cpp:121] starting optimization i0515 09:01:06.578097 15331 solver.cpp:32] initializing solver parameters:  test_iter: 1 test_interval: 1 base_lr: 0.01 display: 1 max_iter: 2 lr_policy: "inv" gamma: 0.0001 power: 0.75 momentum: 0.9 weight_decay: 0 snapshot: 1 snapshot_prefix: "first_net" solver_mode: cpu net: "first_net.prototxt" i0515 09:01:06.578203 15331 solver.cpp:70] creating training net net file: first_net.prototxt e0515 09:01:06.578348 15331 upgrade_proto.cpp:609] attempting upgrade input file specified using deprecated transformation parameters: first_net.prototxt i0515 09:01:06.578533 15331 upgrade_proto.cpp:612] upgraded file specified using deprecated data transformation parameters. e0515 09:01:06.578549 15331 upgrade_proto.cpp:614] note future caffe releases support transform_param messages transformation fields. e0515 09:01:06.578574 15331 upgrade_proto.cpp:618] attempting upgrade input file specified using deprecated v1layerparameter: first_net.prototxt i0515 09:01:06.578635 15331 upgrade_proto.cpp:626] upgraded file specified using deprecated v1layerparameter i0515 09:01:06.578729 15331 net.cpp:42] initializing net parameters:  name: "first_net" input: "data" input_dim: 1 input_dim: 5 input_dim: 41 input_dim: 41 state {   phase: train } layer {   name: "data"   type: "imagedata"   top: "data2"   top: "data-idx"   transform_param {     mirror: false     crop_size: 41   }   image_data_param {     source: "/home/moose/github/first-net/data-images.txt"   } } layer {   name: "label-mask"   type: "imagedata"   top: "label-mask"   top: "label-idx"   transform_param {     mirror: false     crop_size: 41   }   image_data_param {     source: "/home/moose/github/first-net/labels-images.txt"   } } layer {   name: "assert-idx"   type: "euclideanloss"   bottom: "data-idx"   top: "loss" } 

what

attempting upgrade input file specified using deprecated transform parameters / v1layerparameter

mean? did use deprecated? should use instead?

recently, input transformation (scaling/cropping etc.) separated image_data layer separate object: data transformer. change affected protobuffer syntax , syntax of image_data layer.

it appears if first_net.prototxt in old format , caffe converts new format.

you can conversion manually using ./build/tools/upgrade_net_proto_text (for prototxt files) , ./build/tools/upgrade_net_proto_binary (for binaryproto files).


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -