forked from catalyst-team/catalyst
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -165,12 +165,13 @@ def log_metrics( | |
prefix_parameters = [stage_key, loader_key, scope] | ||
prefix = self._format_prefix(prefix_parameters) | ||
|
||
self.experiment.log_metrics( | ||
metrics, | ||
step=global_batch_step, | ||
epoch=global_batch_step, | ||
prefix=prefix, | ||
) | ||
if global_batch_step % 10 == 0: | ||
self.experiment.log_metrics( | ||
metrics, | ||
step=global_batch_step, | ||
epoch=global_batch_step, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
DN6
Collaborator
|
||
prefix=prefix, | ||
) | ||
|
||
def log_image( | ||
self, | ||
|
I would change this to
epoch=global_epoch_step