Training a YOLOv3 network on own dataset, saving it and loading it again.

1 Ansicht (letzte 30 Tage)
Hamza Afzal
Hamza Afzal am 26 Feb. 2021
Beantwortet: Rushil am 9 Mai 2025
Given Data:
I have dataset of almost 5000 images. I want to train my network(by giving it 200 images information) at one time. until it reaches a certain point after training where on testing the network it gives desired outputs.
QUESTION:
So, when implementing this, i have to save my network so that i can load it in for next time for further training.
% This is for the time, when i have trained my yolo network for first time.
save('yolov3trainednetworkimg1_220.mat','net');
% Since i have to train again, so here i am loading this file and net will again go for training.
load('yolov3trainednetworkimg1_220.mat')
net=pretrained.net;
Will this work correctly ? For the purpose i want ? Is it possible ?

Antworten (1)

Rushil
Rushil am 9 Mai 2025
Hello
I believe that saving and loading models for further training (or inference) is possible by using “save” and “load” functions.
To know more, follow the link to a previously answered question on MATLAB Answers:
I hope this helps

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by