Skip to content

Commit

Permalink
Update general.py
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Feb 10, 2022
1 parent e9c3523 commit c86bf1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,8 +817,8 @@ def print_mutation(results, hyp, save_dir, bucket, prefix=colorstr('evolve: ')):
yaml.safe_dump(data.loc[i][7:].to_dict(), f, sort_keys=False)

# Print to screen
LOGGER.info(prefix + f'{generations} generations finished. Last generation result:\n',
prefix + ', '.join(f'{x.strip():>20s}' for x in keys) + '\n',
LOGGER.info(prefix + f'{generations} generations finished, current result:\n' +
prefix + ', '.join(f'{x.strip():>20s}' for x in keys) + '\n' +
prefix + ', '.join(f'{x:20.5g}' for x in vals) + '\n\n')

if bucket:
Expand Down

0 comments on commit c86bf1d

Please sign in to comment.