在使用 mmdetection 工具箱时遇到问题
image.png
提示ValueError: need at least one array to concatenate
这种情况是标签没有设置好
标签在
image.png
image.png
mmdetection 每次重新训练需要修改/mmdetection/mmdet/datasets/voc.py,
/mmdetection/mmdet/core/evaluation/class_names.py
mmdetection/configs/模型文件.py 修改 models里的num_classes.
如果还不行,在mmdetection根目录下执行:python setup.py install