GOATmessi8 / RFBNet

Receptive Field Block Net for Accurate and Fast Object Detection, ECCV 2018
MIT License
1.41k stars 355 forks source link

RuntimeError: Tensor mismatch #100

Open charan1561 opened 5 years ago

charan1561 commented 5 years ago

I am training my own coco like dataset of only two classes and i am getting this error.

loss_c = log_sum_exp(batch_conf) - batch_conf.gather(0, conf_t.view(-1,1)) RuntimeError: Expected tensor [46480 x 1], src [46480 x 3] and index [46480 x 1] to have the same size apart from dimension 0 at /opt/conda/conda-bld/pytorch_1535491974311/work/aten/src/TH/generic/THTensorMath.cpp:620