提交 b885ba8a 编写于 作者: P Pavol Mulinka

loss weights fixed

* I have to add weight support for all regression function in the library
上级 cd5d5b41
......@@ -1220,7 +1220,6 @@ class Trainer:
UserWarning,
)
loss = self.loss_fn(y_pred, y)
else:
loss = self.loss_fn(y_pred, y)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册