Load pre-trained neural net in app designer
4 ビュー (過去 30 日間)
古いコメントを表示
Hi. In the startUpFcn(app) I have the following working code:
data = load('semantic_seg_resnet18_kvasir_aug_trained.mat');
app.segmantationNet = data.net;
data = load('inceptionv3_trained.mat');
app.classificationNet = data.net;
data = app.getScreenSize;
app.widthScreen = data(1);
app.heightScreen = data(2);
app.inputSizeClassification = app.classificationNet.Layers(1).InputSize;
and this is the getScreenSize function
function results = getScreenSize(app)
set(0,'units','pixels')
dimensions = get(0,'screensize');
results = dimensions(3:4);
end
Everything is working fine, but when I install the app on my pc/ another pc, it doesn't load the neural nets. Any idea how can I load those 2 variables?
0 件のコメント
回答 (1 件)
Gouri Chennuru
2020 年 7 月 10 日
Hi Marius,
As per my understanding, make sure that the .mat file in the same directory when installing the application in PC.
You can go through this link when installing the application and make sure you attach the .mat files.
Hope this Helps !
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!