http://www.emgu.com
Read deep learning network represented in one of the supported formats.
Namespace:
Emgu.CV.Dnn
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic static Net ReadNet(
string model,
string config = null,
string framework = null
)
Public Shared Function ReadNet (
model As String,
Optional config As String = Nothing,
Optional framework As String = Nothing
) As Net
public:
static Net^ ReadNet(
String^ model,
String^ config = nullptr,
String^ framework = nullptr
)
static member ReadNet :
model : string *
?config : string *
?framework : string
(* Defaults:
let _config = defaultArg config null
let _framework = defaultArg framework null
*)
-> Net
Parameters
- model
- Type: SystemString
Binary file contains trained weights. The following file extensions are expected for models from different frameworks:
*.caffemodel(Caffe, http://caffe.berkeleyvision.org/)
*.pb (TensorFlow, https://www.tensorflow.org/)
*.t7 | *.net (Torch, http://torch.ch/)
*.weights (Darknet, https://pjreddie.com/darknet/)
*.bin (DLDT, https://software.intel.com/openvino-toolkit) - config (Optional)
- Type: SystemString
Text file contains network configuration. It could be a file with the following extensions:
*.prototxt(Caffe, http://caffe.berkeleyvision.org/)
*.pbtxt (TensorFlow, https://www.tensorflow.org/)
*.cfg (Darknet, https://pjreddie.com/darknet/)
*.xml (DLDT, https://software.intel.com/openvino-toolkit)
- framework (Optional)
- Type: SystemString
Explicit framework name tag to determine a format.
Return Value
Type:
NetNet object.
See Also