Azzera filtri
Azzera filtri

Can I use pretrained network csp-darknet53-coco?

4 visualizzazioni (ultimi 30 giorni)
Adrian Kleffler
Adrian Kleffler il 24 Mag 2023
Commentato: Neha il 5 Giu 2023
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 :)

Risposte (1)

Neha
Neha il 30 Mag 2023
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 Commenti
Adrian Kleffler
Adrian Kleffler il 30 Mag 2023
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 il 5 Giu 2023
Hi Adrian,
You can just replace the last layer of the network with a new output layer to implement transfer learning.

Accedi per commentare.

Categorie

Scopri di più su Deep Learning with GPU Coder in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by