Problem facing with "setup function" in Experiment Manager App
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to hypertune my parameters of a cnn archtecture in Experiment manager in MATLAB 2024a version. It describes that the setup function needs at least 4 arguments (dataset, cnn structure, loss function and the training options). But I am struggling with the setup function whenever I put the loss function what is "crossentropy" in my experiment. I have tried several ways (I have given the screenshots of those attempts).
1.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1672536/image.png)
2.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1672541/image.png)
3.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1672546/image.png)
2 Kommentare
Tatha Goswami
am 18 Apr. 2024
Hi.
You are right the setup function atleast needs 4 arguments now.
Could you please try the following,
function [trainingSet, net, lossFcn, options] = veh_Experiment2(params)
........
lossFcn = "crossentropy";
........
end
Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!