mmdetection训练报错_the model and loaded state dict do not match exact-CSDN博客

网站介绍:文章浏览阅读1w次,点赞5次,收藏8次。mmdetection训练报错。先说结论吧,coco格式的annotations.json中categories的category_id不能有0(即背景类)。查了好几个小时,都快要疯了,才搞出这个结论。给大家趟个坑。完整报错内容如下 :2020-01-04 12:18:44,206 - INFO - Distributed training: False2020-01-04..._the model and loaded state dict do not match exactly