Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Fairseq
Commits
15dccfbf
"docs/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "0d7aac3e8df669faf14c9dcce00d324f51acdce8"
Unverified
Commit
15dccfbf
authored
Nov 12, 2017
by
Myle Ott
Committed by
GitHub
Nov 12, 2017
Browse files
Remove more Python 3.6 format strings (fixes #57) (#58)
parent
c6831d3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fairseq/utils.py
fairseq/utils.py
+1
-1
No files found.
fairseq/utils.py
View file @
15dccfbf
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment