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
Try to fix the bug "Fix issue BIMK#167: add a judegment to check the number of columns for virable dis2, if there is only one column, use this column instead of the second column"
您好,我本身不是做这个方向的,只是近期有个项目用到了PlatEMO,我在测试AdaW算法性能的时候,发现用GUI运行会报错:
函数计算已完成,但有错误。
出错 module_exp/cb_start (第 242 行)
[r,result,metric] = fetchNext(Future,0.01);
^^^^^^^^^^^^^^^^^^^^^^
出错 module_exp>@(varargin)obj.cb_start(varargin{:}) (第 73 行)
obj.app.buttonC(1) = GUI.APP(3,2,uibutton(obj.app.grid(3),'push','Text','Start','FontSize',16,'ButtonpushedFcn',@obj.cb_start));
^^^^^^^^^^^^
原因:
错误使用 WeightUpdate (第 27 行)
位置 2 处的索引超出数组边界。索引不能超过 1。
错误使用 appdesservices.internal.interfaces.model.AbstractModel/executeUserCallback (第 282 行)
计算 Button PrivateButtonPushedFcn 时出错。
报错的是AdaW算法中WeightUpdate.m这个文件,27行
niche_size = median(dis2(:,2));
没有考虑到这个dis2输入只有一列的情况。
The text was updated successfully, but these errors were encountered: