Traceback (most recent call last):


 "train.py", line 114, in <module>

main()


 "train.py", line 105, in main

model = train(cfg, args)


 "train.py", line 44, in train

model = do_train(cfg, model, train_loader, optimizer, scheduler, checkpointer, device, arguments, args)


 "/home/ps/project/SSD/ssd/engine/trainer.py", line 76, in do_train

for iteration, (images, targets, _) in enumerate(data_loader, start_iter):


 "/opt/conda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 804, in __next__

idx, data = self._get_data()


 "/opt/conda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 761, in _get_data

success, data = self._try_get_data()


 "/opt/conda/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 737, in _try_get_data

raise RuntimeError('DataLoader worker (pid(s) {}) exited unexpectedly'.format(pids_str))
RuntimeError: DataLoader worker (pid(s) 19790) exited unexpectedly

Traceback (most recent call last):


 "examples/train_model.py", line 17, in <module>

TrainLoop(opt).train()


 "/home/tanya/ParlAI/parlai/scripts/train_model.py", line 366, in init

self.agent = create_agent(opt)


 "/home/tanya/ParlAI/parlai/core/agents.py", line 747, in create_agent

model = model_class(opt)


 "/home/tanya/ParlAI/parlai/agents/transformer/transformer.py", line 187, in init

super().init(opt, shared)


 "/home/tanya/ParlAI/parlai/core/torch_ranker_agent.py", line 193, in init

self.set_fixed_candidates(shared)


 "/home/tanya/ParlAI/parlai/core/torch_ranker_agent.py", line 890, in set_fixed_candidates

vecs = self._make_candidate_vecs(cands)


 "/home/tanya/ParlAI/parlai/core/torch_ranker_agent.py", line 946, in _make_candidate_vecs

[cand_vecs], pad_idx=self.NULL_IDX, dtype=cand_vecs[0].dtype


 "/home/tanya/ParlAI/parlai/utils/misc.py", line 1017, in padded_3d

output = torch.full((a, b, c), pad_idx, dtype=dtype)
RuntimeError: [enforce fail at CPUAllocator.cpp:64] . DefaultCPUAllocator: can't allocate memory: you tried to allocate 4274695392 bytes. Error code 12 (Cannot allocate memory)
