Borrar filtros
Borrar filtros

Load pre-trained neural net in app designer

1 visualización (últimos 30 días)
Marius Bledea
Marius Bledea el 5 de Jul. de 2020
Respondida: Gouri Chennuru el 10 de Jul. de 2020
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?

Respuestas (1)

Gouri Chennuru
Gouri Chennuru el 10 de Jul. de 2020
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 !

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by