Why caffe model is saved as PCX image?

9 views
Skip to first unread message

Nyan Naing

unread,
Nov 7, 2017, 2:06:52 AM11/7/17
to Caffe Users
I am training Deep Learning using caffe.

I saved the model as

string savemodelname = Conf.snapshot_prefix_folder+"/snapshotat_"+ss.str()+".caffemodel";
 caffe
::NetParameter net_param;
 net_
->ToProto(&net_param);
 caffe
::WriteProtoToBinaryFile(net_param, savemodelname);

But it is saved as PCX image (image/vnd.zbrush.pcx) and not in binary.

My OS is Ubuntu16.04.

What is wrong with that? I use c++ for my training.

Reply all
Reply to author
Forward
0 new messages