You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error using dlfeval (line 43)
Size of predictions and target values arguments must match.
我单步调试之后发现问题出在 dlfeval函数的这里:
After I step through it, I found the problem is at the dlfeval function:
try
[varargout{1:nout}] = deep.internal.dlfeval(fun,varargin{:});
catch err
nnet.internal.cnn.util.rethrowDLExceptions(err);
end
这部分代码的[varargout{1:nout}] = deep.internal.dlfeval(fun,varargin{:})无法执行,导致报错。
但是我并不知道为什么出错,也不知道怎么解决。请帮帮我。
[varargout{1:nout}] = deep.internal.dlfeval(fun,varargin{:})unable to run, resulting in an error.
I don't know why it went wrong or how to solve it.Please help me.
The text was updated successfully, but these errors were encountered:
抱歉 时间过得太久了,我忘了当时是怎么解决的了……
Sent from Mail for Windows 10
From: KobeZ0121
Sent: 2022年4月22日 16:49
To: cuixing158/yolov3-yolov4-matlab
Cc: MikeMegamind; Author
Subject: Re: [cuixing158/yolov3-yolov4-matlab]你好,我在训练的时候遇到了这个问题:错误使用 dlfeval函数,Error using dlfeval (#21)
楼主您好,请问这个问题解决了吗,我也遇到相同错误了
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
我建立了自己的数据集进行训练,在训练的那部分,这个函数出现了问题:
I set up my own data set for training, and in the training part, this function has a problem:
[gradients,loss,state] = dlfeval(@modelGradients, model, XTrain, YTrain,yoloLayerNumber);
出错原因显示的是:
The error is shown here:
Error using dlfeval (line 43)
Size of predictions and target values arguments must match.
我单步调试之后发现问题出在 dlfeval函数的这里:
After I step through it, I found the problem is at the dlfeval function:
try
[varargout{1:nout}] = deep.internal.dlfeval(fun,varargin{:});
catch err
nnet.internal.cnn.util.rethrowDLExceptions(err);
end
这部分代码的[varargout{1:nout}] = deep.internal.dlfeval(fun,varargin{:})无法执行,导致报错。
但是我并不知道为什么出错,也不知道怎么解决。请帮帮我。
[varargout{1:nout}] = deep.internal.dlfeval(fun,varargin{:})unable to run, resulting in an error.
I don't know why it went wrong or how to solve it.Please help me.
The text was updated successfully, but these errors were encountered: