WeiZongqi / CG-Net

Learning Calibrated-Guidance for Object Detection in Aerial Images
Apache License 2.0
58 stars 15 forks source link

pytorch梯度报错 #8

Open awei-97 opened 1 year ago

awei-97 commented 1 year ago

您好,我运行命令: python tools/train.py configs/DOTA/faster_rcnn_RoITrans_r50_fpn_CG.py 后 mmdection报错: RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [1024, 256, 7, 7]], which is output 0 of IndexPutBackward, is at version 5; expected version 4 instead.