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
415bf630
Commit
415bf630
authored
Oct 23, 2017
by
Myle Ott
Browse files
Fix description for `--sample-without-replacement` option
parent
19a3865d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
fairseq/options.py
fairseq/options.py
+1
-1
No files found.
fairseq/options.py
View file @
415bf630
...
@@ -65,7 +65,7 @@ def add_optimization_args(parser):
...
@@ -65,7 +65,7 @@ def add_optimization_args(parser):
help
=
'weight decay'
)
help
=
'weight decay'
)
group
.
add_argument
(
'--sample-without-replacement'
,
default
=
0
,
type
=
int
,
metavar
=
'N'
,
group
.
add_argument
(
'--sample-without-replacement'
,
default
=
0
,
type
=
int
,
metavar
=
'N'
,
help
=
'If bigger than 0, use that number of mini-batches for each epoch,'
help
=
'If bigger than 0, use that number of mini-batches for each epoch,'
' where each sample is drawn randomly with replacement from the'
' where each sample is drawn randomly with
out
replacement from the'
' dataset'
)
' dataset'
)
return
group
return
group
...
...
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