Traceback (most recent call last):

 "C:\Users\Dad\Documents\3D_Printing\Software\Printrun-20140819\printrun\printcore.py", line 484, in _print
self._sendnext()

 "C:\Users\Dad\Documents\3D_Printing\Software\Printrun-20140819\printrun\printcore.py", line 520, in _sendnext
self._send(self.sentlines[self.resendfrom], self.resendfrom, False)KeyError: 39481
Traceback (most recent call last):


 "pipeline.py", line 601, in <module>

main(parser.parse_args())


 "pipeline.py", line 594, in main

_main()


 "pipeline.py", line 141, in _main

train_output = current_model.train_model(dataloader.get_train_input_fn(), classification_steps)


 "/home/amsha/Research/FoodClassification/models/models_fasterrcnn.py", line 288, in train_model

rois_label = self.model(input_var, iinfo_var, gtbox_var, nmbox_var)


 "/home/amsha/virtualenv/torch-master-13022018/lib/python3.6/site-packages/torch/nn/modules/module.py", line 357, in __call__

result = self.forward(*input, **kwargs)


 "/home/amsha/Research/faster-rcnn.pytorch/lib/model/faster_rcnn/faster_rcnn.py", line 77, in forward

pooled_feat = self.RCNN_roi_crop(base_feat, Variable(grid_yx).detach())


 "/home/amsha/virtualenv/torch-master-13022018/lib/python3.6/site-packages/torch/nn/modules/module.py", line 357, in __call__

result = self.forward(*input, **kwargs)


 "/home/amsha/Research/faster-rcnn.pytorch/lib/model/roi_crop/modules/roi_crop.py", line 8, in forward

return RoICropFunction()(input1, input2)


 "/home/amsha/Research/faster-rcnn.pytorch/lib/model/roi_crop/functions/roi_crop.py", line 11, in forward

output = input2.new(input2.size()[0], input1.size()[1], input2.size()[1], input2.size()[2]).zero_()
RuntimeError: cuda runtime error (2) : out of memory at /home/amsha/builds/pytorch/aten/src/THC/generic/THCStorage.cu:58
