pytorch-retinanet
pytorch-retinanet copied to clipboard
This is a bug and 'ResNet' object has no attribute 'module'
https://github.com/yhenon/pytorch-retinanet/blob/a76e56eb537be476abc914587ae92ab542e2b3e4/train.py#L110
Can you provide a finetune code ??
if torch.cuda.is_available(): retinanet = torch.nn.DataParallel(retinanet).cuda() so that retinanet will have attribute 'module'