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

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 ?

回答 (1 件)

Rushil
Rushil 2025 年 5 月 9 日

0 投票

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

製品

リリース

R2020a

質問済み:

2021 年 2 月 26 日

回答済み:

2025 年 5 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by