yolox.utils.checkpoint:26 - Shape of head.cls_preds.0.weight in checkpoint is torch.Size([80, 128, 1, 1]), while shape of head.cls_preds.0.weight in model is torch.Size([2, 128, 1, 1]).
2022-03-01 16:43:04 | WARNING | yolox.utils.checkpoint:26 - Shape of head.cls_preds.0.bias in checkpoint is torch.Size([80]), while shape of head.cls_preds.0.bias in model is torch.Size([2]).
这个怎么解决,已更改coco,voc还有selfnum,还是出现问题
CUDA是10.2.89,CUDNN是7.6.5.安装都没问题,用driving.mp4调用GPU检测也可以实现。就是训练nano模型的时候会报错:ERROR | yolox.core.launch:98 - An error has been caught in function 'launch', process 'MainProcess' (2492), thread 'MainThread' (4412): AttributeError: 'Exp' object has no attribute 'perspective'。
训练nano模型的时候出错了 File"F:\PycharmProjects\YOLOX\exps/example/yolox_voc\yolox_voc_nano.py", line 90, in get_data_loader perspective=self.perspective, AttributeError: 'Exp' object has no attribute 'perspective'