필터 지우기
필터 지우기

how to get the extract or get the trained model or weight file after running neural network model(specifically object detection yolo v2 model)

조회 수: 15 (최근 30일)

답변 (1개)

Srivardhan Gadila
Srivardhan Gadila 2022년 1월 11일
Once you train the network using trainYOLOv2ObjectDetector, you can access the Network property of the yolov2ObjectDetector as follows:
dagnet = detector.Network
It would be a dagnetwork object and you can access the weights of the individual layers (layers having weights such as conv2d etc.) of the network as follows:
layer2 = dagnet.Layers(2)
weights2 = layer2.Weights;
You can also access them by checking the dagnet variable in the Workspace Browser as well.
Refer to the following pages for more information: yolov2ObjectDetector - properties, DAGNetwork.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by