"docs/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "0d7aac3e8df669faf14c9dcce00d324f51acdce8"
Unverified Commit 15dccfbf authored by Myle Ott's avatar Myle Ott Committed by GitHub
Browse files

Remove more Python 3.6 format strings (fixes #57) (#58)

parent c6831d3b
......@@ -50,7 +50,7 @@ def build_progress_bar(args, iterator, epoch=None, prefix=None):
elif args.log_format == 'tqdm':
bar = progress_bar.tqdm_progress_bar(iterator, epoch, prefix)
else:
raise ValueError(f'Unknown log format: {args.log_format}')
raise ValueError('Unknown log format: {}'.format(args.log_format))
return bar
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment