vlfeat / matconvnet

MatConvNet: CNNs for MATLAB
Other
1.4k stars 753 forks source link

saving a trained alexNet dagNN model as a .mat file #875

Open ghost opened 7 years ago

ghost commented 7 years ago

I have trained a alexNet model from the scratch, with my own dataset. Kindly let me know the syntax for saving the trained DagNN model in .mat format, for further evaluation.

layumi commented 7 years ago

@raaju-shiv net_mat = net.saveobj() ; %net is a DagNN class save('my_alexnet.mat', 'net_mat') ;

%--------when you load the mat load('my_alexnet.mat') ; net = dagnn.DagNN.loadobj(net_mat) ;