Traceback (most recent call last):


 "./test.py", line 43, in <module>

encode_frames(pkt,ovstream,oastream)


 "./test.py", line 26, in encode_frames

ovstream.encode(frames)


 "av/video/stream.pyx", line 86, in av.video.stream.VideoStream.encode (src/av/video/stream.c:2991)


 "av/video/stream.pyx", line 147, in av.video.stream.VideoStream.encode (src/av/video/stream.c:2681)


 "av/utils.pyx", line 78, in av.utils.err_check (src/av/utils.c:1749)
av.AVError: [Errno 1] Operation not permitted

Traceback (most recent call last):


 "/home/ml/users/jgonza38/anaconda3/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap

fn(i, *args)


 "/home/ml/users/jgonza38/reproduce_master_thesis/fairseq/fairseq_cli/train.py", line 324, in distributed_main

main(args, init_distributed=True)


 "/home/ml/users/jgonza38/reproduce_master_thesis/fairseq/fairseq_cli/train.py", line 117, in main

valid_losses = train(args, trainer, task, epoch_itr, max_update)


 "/home/ml/users/jgonza38/anaconda3/lib/python3.7/contextlib.py", line 74, in inner

return func(*args, **kwds)


 "/home/ml/users/jgonza38/reproduce_master_thesis/fairseq/fairseq_cli/train.py", line 187, in train

log_output = trainer.train_step(samples)


 "/home/ml/users/jgonza38/anaconda3/lib/python3.7/contextlib.py", line 74, in inner

return func(*args, **kwds)


 "/home/ml/users/jgonza38/reproduce_master_thesis/fairseq/fairseq/trainer.py", line 412, in train_step

logging_outputs, sample_size, ooms, ignore=is_dummy_batch,


 "/home/ml/users/jgonza38/reproduce_master_thesis/fairseq/fairseq/trainer.py", line 685, in _aggregate_logging_outputs

logging_outputs, *extra_stats_to_sum, ignore=ignore


 "/home/ml/users/jgonza38/reproduce_master_thesis/fairseq/fairseq/trainer.py", line 746, in _fast_stat_sync_sum

group=self.data_parallel_process_group


 "/home/ml/users/jgonza38/reproduce_master_thesis/fairseq/fairseq/distributed_utils.py", line 292, in all_reduce_dict

cpu_data = _all_reduce_dict(cpu_data)


 "/home/ml/users/jgonza38/reproduce_master_thesis/fairseq/fairseq/distributed_utils.py", line 288, in _all_reduce_dict

buf = torch.stack(list(data.values())).to(device=device)
RuntimeError: CUDA error: the launch timed out and was terminated
