Skip to content

Commit a7beb37

Browse files
authored
Add loss to progress bar output (official-stockfish#350)
1 parent 9a6cfde commit a7beb37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model/lightning_module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def step_(self, batch: tuple[Tensor, ...], batch_idx, loss_type):
103103
loss = loss * ((qf > pt) * p.qp_asymmetry + 1)
104104
loss = loss.mean()
105105

106-
self.log(loss_type, loss)
106+
self.log(loss_type, loss, prog_bar=True)
107107

108108
return loss
109109

0 commit comments

Comments
 (0)