Azzera filtri
Azzera filtri

Problem loading pretrained fuzzy model

1 visualizzazione (ultimi 30 giorni)
Rodrigo Salas
Rodrigo Salas il 21 Lug 2023
Commentato: Rodrigo Salas il 4 Ago 2023
I have next problem runing the "
Explain Black-Box Model Using Fuzzy
" example:
>> data = load('dataExplainDNN.mat');
dnnLKA = data.trainedDNN;
Warning: Unable to load instances of class rl.layer.ScalingLayer into a heterogeneous array. The definition of
rl.layer.ScalingLayer could be missing or contain an error. Default objects will be substituted.
Warning: While loading an object of class 'SeriesNetwork':
Error using the predict function in layer nnet.cnn.layer.MissingLayer. The function threw an error and could not be executed.
>> steeringAngle = predict(dnnLKA,zeros(1,6))
Dot indexing is not supported for variables of this type.
Error in SeriesNetwork/predict (line 320)
Y = this.UnderlyingDAGNetwork.predict(X, varargin{:});
The class "rl" is not load correctly, load a structure but is not the original data (SacalingLayer object maybe?), then fail when try to use as a predict model.
I need to add some function of the original model like a add-on?

Risposte (1)

Aman
Aman il 31 Lug 2023
Hi,
I understand that you are trying to execute the "Explain Black-Box Model Using Fuzzy Support System" example and are facing an issue with the "dnnLKA" model.
This issue occurs when the class definition for that network is not on the MATLAB path when the network is being used.
Please refer to the following documentation to learn about how to solve this issue by including the class definition.
I hope it helps!
  1 Commento
Rodrigo Salas
Rodrigo Salas il 4 Ago 2023
Hi, a temporal solution was try in another computer with more ToolBox and the example run without problem. I checked what LKA is and is a Lane Keeping Assist, this model require another ToolBox that I haven't buy in my current pc. Thanks for the answer.

Accedi per commentare.

Categorie

Scopri di più su Fuzzy Logic Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by