未验证 提交 7f323f16 编写于 作者: P Pavol Mulinka 提交者: GitHub

Update trainer.py

上级 49b3776f
...@@ -1168,7 +1168,7 @@ class Trainer: ...@@ -1168,7 +1168,7 @@ class Trainer:
else: else:
loss = self.loss_fn(y_pred, y) loss = self.loss_fn(y_pred, y)
score = self._get_score(y_pred, y) score = self._get_score(y_pred, y)
# raise exception if the loss is exploding with non scaled target values # TODO raise exception if the loss is exploding with non scaled target values
loss.backward() loss.backward()
self.optimizer.step() self.optimizer.step()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册