Skip to content

Commit 3438a50

Browse files
authored
Update analyze_logs.py (#5479)
1 parent 33bc4c5 commit 3438a50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/analysis_tools/analyze_logs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def plot_curve(log_dicts, args):
6565
else:
6666
xs = []
6767
ys = []
68-
num_iters_per_epoch = log_dict[epochs[0]]['iter'][-1]
68+
num_iters_per_epoch = log_dict[epochs[0]]['iter'][-2]
6969
for epoch in epochs:
7070
iters = log_dict[epoch]['iter']
7171
if log_dict[epoch]['mode'][-1] == 'val':

0 commit comments

Comments
 (0)