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
chenpangpang
transformers
Commits
5da6afdd
Unverified
Commit
5da6afdd
authored
Sep 24, 2022
by
Enze
Committed by
GitHub
Sep 23, 2022
Browse files
Update run_clip.py (#19130)
The overwrite_cache parameter is declared twice.
parent
6395d122
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
examples/pytorch/contrastive-image-text/run_clip.py
examples/pytorch/contrastive-image-text/run_clip.py
+0
-3
No files found.
examples/pytorch/contrastive-image-text/run_clip.py
View file @
5da6afdd
...
@@ -161,9 +161,6 @@ class DataTrainingArguments:
...
@@ -161,9 +161,6 @@ class DataTrainingArguments:
overwrite_cache
:
bool
=
field
(
overwrite_cache
:
bool
=
field
(
default
=
False
,
metadata
=
{
"help"
:
"Overwrite the cached training and evaluation sets"
}
default
=
False
,
metadata
=
{
"help"
:
"Overwrite the cached training and evaluation sets"
}
)
)
overwrite_cache
:
bool
=
field
(
default
=
False
,
metadata
=
{
"help"
:
"Overwrite the cached training and evaluation sets"
}
)
preprocessing_num_workers
:
Optional
[
int
]
=
field
(
preprocessing_num_workers
:
Optional
[
int
]
=
field
(
default
=
None
,
default
=
None
,
metadata
=
{
"help"
:
"The number of processes to use for the preprocessing."
},
metadata
=
{
"help"
:
"The number of processes to use for the preprocessing."
},
...
...
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