Problem facing with "setup function" in Experiment Manager App

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.
2.
3.

2 个评论

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
@Tatha Goswami Thanks a lot for your nice support. Yes, it has been worked. Again I appreciate yoir assistance.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with Deep Learning Toolbox 的更多信息

产品

版本

R2024a

提问:

2024-4-18

评论:

2024-4-20

Community Treasure Hunt

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

Start Hunting!

Translated by