How to classify image in standard alone application ?

2 visualizaciones (últimos 30 días)
Jenifer NG
Jenifer NG el 30 de Abr. de 2023
Comentada: Jenifer NG el 5 de Jul. de 2023
Hi All,
I design 1 app to calssify image label.
I trained a network and save network as a .mat file.
then load to gui to classify image.
It is working on my computer with matlab installed. But it is not working on other computer with Matlab runtime was installed
the network training for image [128 128 1].
Is there any solution to fix this problem ?
This is my test gui with code.

Respuestas (1)

Image Analyst
Image Analyst el 30 de Abr. de 2023
Are you sure you shipped all the files you were supposed to (like the .exe and the .mat files)? Did you ship a sample image that you know your program works with?
"Not working" is not a lot of information to go on, to say the least. So until we get more information about all I can say is make sure your files are all there and the paths to them in your code are correct. See the FAQ for more ideas:
  1 comentario
Jenifer NG
Jenifer NG el 5 de Jul. de 2023
Dear Sir,
I upload the app design file and trained model as model.mat this model was train on cifar 10 dataset with image size is [32 32 3]
It is working fine if i run with Matlab but when i turn of matlab and run as standard alone app it error as bellow.
Could you look at to the code and log file to help me ?
Warning: Variable 'net' originally saved as a SeriesNetwork cannot be instantiated as an object and will be read in as a uint32.
> In app1/startupFcn (line 23)
In appdesigner.internal.service/AppManagementService/runStartupFcn (line 135)
In matlab.apps/AppBase/runStartupFcn (line 68)
In app1 (line 84)
Error using classify
Requires at least three arguments.
Error in app1/ButtonPushed (line 36)
Error in appdesigner.internal.service.AppManagementService/executeCallback (line 172)
Error in matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 62)
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback
Error while evaluating Button PrivateButtonPushedFcn.
Thanks
Jen!

Iniciar sesión para comentar.

Categorías

Más información sobre Deep Learning Toolbox en Help Center y File Exchange.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by