Skip to content

Commit

Permalink
Always log prediction consumption first
Browse files Browse the repository at this point in the history
  • Loading branch information
PedramBakh committed Sep 13, 2024
1 parent 6b1de16 commit 69b4087
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions carbontracker/tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,14 +376,14 @@ def epoch_end(self):
try:
self.tracker.epoch_end()

if self.epoch_counter == self.monitor_epochs:
self._output_actual()

if self.epoch_counter == self.epochs_before_pred:
self._output_pred()
if self.stop_and_confirm:
self._user_query()

if self.epoch_counter == self.monitor_epochs:
self._output_actual()

if self.epoch_counter == self.monitor_epochs:
self._delete()
except Exception as e:
Expand Down

0 comments on commit 69b4087

Please sign in to comment.