Training a YOLOv3 network on own dataset, saving it and loading it again.
1 次查看(过去 30 天)
显示 更早的评论
I am working on YOLOv3 example. https://www.mathworks.com/help/vision/ug/object-detection-using-yolo-v3-deep-learning.html#ObjectDetectionUsingYOLOV3DeepLearningExample-7
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 ?
0 个评论
回答(1 个)
Rushil
2025-5-9
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deep Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!