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
48c22691
Unverified
Commit
48c22691
authored
May 20, 2022
by
ddobokki
Committed by
GitHub
May 19, 2022
Browse files
Fix bug in Wav2Vec2 pretrain example (#17326)
parent
5d6feecf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
examples/research_projects/wav2vec2/run_pretrain.py
examples/research_projects/wav2vec2/run_pretrain.py
+0
-1
No files found.
examples/research_projects/wav2vec2/run_pretrain.py
View file @
48c22691
...
@@ -202,7 +202,6 @@ class DataCollatorForWav2Vec2Pretraining:
...
@@ -202,7 +202,6 @@ class DataCollatorForWav2Vec2Pretraining:
(
batch_size
,
mask_indices_seq_length
),
(
batch_size
,
mask_indices_seq_length
),
self
.
model
.
config
.
mask_time_prob
,
self
.
model
.
config
.
mask_time_prob
,
self
.
model
.
config
.
mask_time_length
,
self
.
model
.
config
.
mask_time_length
,
device
=
batch
[
"input_values"
].
device
,
attention_mask
=
attention_mask
,
attention_mask
=
attention_mask
,
min_masks
=
2
,
min_masks
=
2
,
)
)
...
...
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