Alexnet Re-train

1 回表示 (過去 30 日間)
Eduardo Atilano Alba
Eduardo Atilano Alba 2020 年 10 月 22 日
回答済み: Rahul 2025 年 3 月 17 日
Hi, thank you for the video using Alexnt, but I have a question...
How to do to save the re-training and not have it re-train every time we run the camera?
Thank you a lot.

回答 (1 件)

Rahul
Rahul 2025 年 3 月 17 日
In order to avoid re-training your model again and again, consider saving it in the form of a 'mat' file by using the 'save' function and using it again by loading the 'mat' file using 'load' function.
Here is an example:
% Considering 'trainedModel' to be the model you are training
save('myTrainedModel.mat', 'trainedModel');
% Later or in a new session, load the model
loadedData = load('myTrainedModel.mat');
trainedModel = loadedData.trainedModel;
Also consider referring to the following MATLAB Answers and their approaches:
The following MathWorks documentations can be referred:
Thanks.

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by