Skip to content

Commit 68802d8

Browse files
sort stats
1 parent 6d66496 commit 68802d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/preprocess-remote.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ def main(args):
236236
continue
237237
print('Total: %d training frames, %d testing frames' % (trainFrames, testFrames))
238238

239+
# sort each list in stats to preserve the order between runs
240+
for k, v in stats.items():
241+
stats[k] = sorted(v)
239242
# save the stats
240243
with open(os.path.join(folder, 'stats.json'), 'w') as f:
241244
json.dump(stats, f, indent=2)

0 commit comments

Comments
 (0)