mirror of
https://github.com/cdtools-developers/cdtools.git
synced 2026-10-28 19:01:36 +01:00
Pad epoch index
This commit is contained in:
1 parent
4a3349bbad
commit
eee9ac073b
1 file changed
+1
-1
@@ -706,7 +706,7 @@ class CDIModel(t.nn.Module):
|
||||
epoch = len(self.loss_history)
|
||||
dt = self.latest_iteration_time
|
||||
loss = self.loss_history[-1]
|
||||
msg = f'Epoch {epoch} completed in {dt:0.2f} s with loss {loss:.5e}'
|
||||
msg = f'Epoch {epoch:3d} completed in {dt:0.2f} s with loss {loss:.5e}'
|
||||
else:
|
||||
msg = 'No reconstruction iterations performed yet!'
|
||||
|
||||
|
||||
Reference in new issue
Block a user