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

1 visualización (últimos 30 días)
Hamza Afzal
Hamza Afzal el 26 de Feb. de 2021
Respondida: Rushil el 9 de Mayo de 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 ?

Respuestas (1)

Rushil
Rushil el 9 de Mayo de 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

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by