Can I use pretrained network csp-darknet53-coco?

조회 수: 17 (최근 30일)
Adrian Kleffler
Adrian Kleffler 2023년 5월 24일
댓글: Neha 2023년 6월 5일
Hello guys, I want to train YOLOv4 detector and as shown in example on MathWorks page they used pretrained network csp-darknet53-coco… but i have my own 1865 annotated imaged which contains 5 different classes which i specified… so can i use this network or do i have to make my own network using deep network designer in matlab and edit darknet53 network there? Next I want to train Faster R-CNN and SSD detector and as shown in examples on MathWorks page these detectors use pretrained ResNet50 network … question is the same - can i use this network or do i have to edit the resnet50 network in matlab deep network designer and use my edited network? Thanks for answers :)

답변 (1개)

Neha
Neha 2023년 5월 30일
Hi Adrain,
I understand that you want to know if pre-trained network can be used to create a detector with your own dataset. For the YOLOv4 detector, you can fine-tune the pretrained csp-darknet53-coco network using transfer learning. Similarly, the pre-trained ResNet-50 can be used to train Faster R-CNN and SSD Detector. This involves replacing the last few layers of the network with new layers that are tailored to your specific task or just replacing the last layer with a new output layer. This can be done using the Deep Network Designer app or by modifying the network architecture using the MATLAB code. Please refer to Transfer Learning Using Pretrained Network - MATLAB & Simulink (mathworks.com) for more information.
Hope this helps!
  댓글 수: 2
Adrian Kleffler
Adrian Kleffler 2023년 5월 30일
Hello, thanks for answer. But do i have to fine tune it? Or can i just use these networks? Will it be fine?
Neha
Neha 2023년 6월 5일
Hi Adrian,
You can just replace the last layer of the network with a new output layer to implement transfer learning.

댓글을 달려면 로그인하십시오.

카테고리

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