按照教程训练自定义数据集出现问题
Created by: renjiechao88
2020-08-15 22:33:23,644-WARNING: paddle.fluid.layers.matrix_nms OP not found, maybe a newer version of paddle is required.
Traceback (most recent call last):
File "tools/train.py", line 368, in
main()
File "tools/train.py", line 69, in main
check_config(cfg)
File "C:\Users\rjc\Downloads\PaddleDetection-release-0.4\ppdet\utils\check.py", line 101, in check_config
assert train_dataset.with_background == eval_dataset.with_background,
AttributeError: 'list' object has no attribute 'with_background'
数据集布置格式: dataset
- voc
- VOCdevkit //绝对路径 VOCdevkit\VOC2007\JPEGImages\20191115_143546_6.jpg VOCdevkit\VOC2007\Annotations\20191115_143546_6.xml
- test.txt -trainval.txt -VOC2007 -Annotations -ImageSets -JPEGImages