Traceback (most recent call last):
File "videotrans\process\stt_fun.py", line 412, in pipe_asr
File "transformers\pipelines\pt_utils.py", line 126, in next
item = next(self.iterator)File "transformers\pipelines\pt_utils.py", line 271, in next
processed = self.infer(next(self.iterator), **self.params)File "torch\utils\data\dataloader.py", line 733, in next
data = self._next_data()File "torch\utils\data\dataloader.py", line 789, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIterationFile "torch\utils\data\_utils\fetch.py", line 43, in fetch
return self.collate_fn(data)File "transformers\pipelines\base.py", line 182, in inner
raise ValueError(ValueError: The elements of the batch contain different keys. Cannot batch them ({'attention_mask', 'is_last', 'input_features'} != {'attention_mask', 'is_last', 'input_features', 'num_frames'})
=
system:Windows-10-10.0.19045-SP0
version:v3.97
frozen:True
language:zh
root_dir:F:/FanYi/win-pyvideotrans-v3.97