Deep learning toolbox keeps disappearing

4 Ansichten (letzte 30 Tage)
Farid
Farid am 8 Aug. 2022
Kommentiert: Jose am 26 Jun. 2023
Hey community,
Everytime I close Matlab I will have to re-install the deep learning toolbox in order to be able to load and interpret the convolutional neural networks. I have also noticed that the toolbox's apps are missing in the Apps section but in the add-on sectionI find the deep learning toolbox installed so I have to uninstall and reinstall it!
Thank you so much.
Here's the error:
In main/importSignalMenuSelected (line 769)
In matlab.apps.AppBase>@(source,event)tryCallback(appdesigner.internal.service.AppManagementService.instance(),app,callback,requiresEventData,event) (line 37)
In matlab.ui.internal.controller/WebMenuController/fireActionEvent (line 67)
In matlab.ui.internal.controller/WebMenuController/handleEvent (line 55)
In matlab.ui.internal.controller.WebMenuController>@(varargin)obj.handleEvent(varargin{:}) (line 36)
Undefined function 'classify' for input arguments of type 'uint32'.
Error in main/importSignalMenuSelected (line 770)
type=classify(net.Faridtypeclassifier,X);
Error using matlab.ui.internal.controller.WebMenuController/fireActionEvent (line 67)
Error while evaluating Menu Callback.

Akzeptierte Antwort

David Willingham
David Willingham am 9 Aug. 2022
Perhaps your preferences directory has become corrupted. Maybe try deleting the preferences directory and restarting MATLAB.
To find the preferences directory, type:
>> prefdir
Delete the folder and then restart MATLAB. This will force MATLAB to regenerate it again.
  2 Kommentare
Farid
Farid am 9 Aug. 2022
Thank you so much David,
Did that, I will keep you updated on the result.
Farid
Farid am 11 Aug. 2022
@David yes it actually did!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

yanqi liu
yanqi liu am 9 Aug. 2022
Bearbeitet: yanqi liu am 9 Aug. 2022
yes,sir,may be use
type=classify(net.Faridtypeclassifier,mat2gray(X));
  2 Kommentare
Farid
Farid am 9 Aug. 2022
Thank you, it doesn't help really. when I try to run:
net=load("test.mat"); %test mat is a convolutional neural network.
I face the following warning:
Warning: Variable 'layers_1' originally saved as a nnet.cnn.layer.Layer cannot be instantiated as an object and will be read in as a uint32.
Jose
Jose am 26 Jun. 2023
nice

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by