dlpy.model.Model.from_caffe_model¶
-
classmethod
Model.
from_caffe_model
(conn, input_network_file, output_model_table=None, model_weights_file=None, **kwargs)¶ Generate a model object from a Caffe model proto file (e.g. *.prototxt), and convert the weights (e.g. *.caffemodel) to a SAS capable file (e.g. *.caffemodel.h5).
Parameters: - conn : CAS
The CAS connection object.
- input_network_file : string
Fully qualified file name of network definition file (*.prototxt).
- model_weights_file : string, optional
Fully qualified file name of model weights file (*.caffemodel)
Default: None- output_model_table : string or dict or CAS table, optional
Specifies the CAS table to store the deep learning model.
Default: None
Returns: