NeuralBabyTalk icon indicating copy to clipboard operation
NeuralBabyTalk copied to clipboard

RuntimeError: Dimension out of range (expected to be in range of [-1, 0], but got 1)

Open zwr9cu opened this issue 5 years ago • 0 comments

excuse me, I get this error when I train coco with pytorch==0.4 .1 python==3.5.2 , I change batch_size from 20 to 10.how can i solve the problem? thanks

File "/home/ubuntu/MyFiles/zwr/NeuralBabyTalk/misc/utils.py", line 496, in bbox_overlaps max_bbox = gt_box.size(1) RuntimeError: Dimension out of range (expected to be in range of [-1, 0], but got 1) Exception ignored in: <bound method _DataLoaderIter.del of <torch.utils.data.dataloader._DataLoaderIter object at 0x7fe36cfb1198>>

zwr9cu avatar Apr 06 '19 12:04 zwr9cu