Is there a train function in Caffe to train a net from c++ codes?

时间:2018-02-03 08:15:24

标签: c++ caffe

Since there is a file by the name of classification.cpp in Caffe folder and I can classify my input from c++ codes, so how can I train my network from c++ codes? I have added caffe.hpp and I want to know is there a function like this:

caffe::train(solver, mysolver.prototxt)

1 个答案:

答案 0 :(得分:1)

您应该阅读此文件:

caffe-master/tools/caffe.cpp

那里有训练和测试。