How to load trained matlab cnn file in Matlab memory?

3 ビュー (過去 30 日間)
Hardit Singh
Hardit Singh 2020 年 4 月 19 日
回答済み: Vineet Joshi 2021 年 10 月 26 日
Currently I have a GUI that has a browse button. When this browse button is clicked and the user selects an image I load my trainednet.mat file. This means every time I load a new image I have to load the model again. Is there any way to load the model automatically at the start of the program so that I don't have to reload it again everytime the user selects a new image?

回答 (1 件)

Vineet Joshi
Vineet Joshi 2021 年 10 月 26 日
Hi!
You can simply use the load function at the start of your program or at the start of the scripts which re-reuns after everytime a new image is loaded.
This function will automatically load the file for you.
load('trainednet.mat')
Kindly refer to the following documentation for more help.
Hope this helps

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by