Fix bug in Wav2Vec2 pretrain example (#17326)

This commit is contained in:
ddobokki 2022-05-20 05:42:44 +09:00 committed by GitHub
parent 5d6feecf16
commit 48c22691e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,7 +202,6 @@ class DataCollatorForWav2Vec2Pretraining:
(batch_size, mask_indices_seq_length),
self.model.config.mask_time_prob,
self.model.config.mask_time_length,
device=batch["input_values"].device,
attention_mask=attention_mask,
min_masks=2,
)