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 244e6b7 commit 9e36b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ def print_mutation(results, hyp, save_dir, bucket):
f'# Last generation: {len(data) - 1}\n' +
'# ' + ', '.join(f'{x.strip():>20s}' for x in keys[:7]) + '\n' +
'# ' + ', '.join(f'{x:>20.5g}' for x in data.values[i, :7]) + '\n\n')
yaml.safe_dump(data.loc[i][7:], f, sort_keys=False)
yaml.safe_dump(data.loc[i][7:].to_dict(), f, sort_keys=False)

if bucket:
os.system(f'gsutil cp {evolve_csv} {evolve_yaml} gs://{bucket}') # upload
Expand Down

0 comments on commit 9e36b72

Please sign in to comment.