Borrar filtros
Borrar filtros

Problem loading pretrained fuzzy model

1 visualización (últimos 30 días)
Rodrigo Salas
Rodrigo Salas el 21 de Jul. de 2023
Comentada: Rodrigo Salas el 4 de Ag. de 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?

Respuestas (1)

Aman
Aman el 31 de Jul. de 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 comentario
Rodrigo Salas
Rodrigo Salas el 4 de Ag. de 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.

Iniciar sesión para comentar.

Categorías

Más información sobre Fuzzy Logic Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by