Closed foww-0001 closed 2 years ago
运行命令如下:
python3 easyai/inference_task.py -t classify -i /home/wfw/data/VOCdevkit/flower17_classify/ImageSets/val.txt -m classnet -w .easy_log/snapshot/cls_best.pt -c .easy_log/config/classify_config.json
报错如下:
2021-09-16 14:30:53,994 ERROR [data_transforms_factory.py, 29] Traceback (most recent call last): File "/home/wfw/easy_data/easy_ai/easyai/data_loader/utility/data_transforms_factory.py", line 20, in get_data_transform type_name = data_transform_config['type'].strip() TypeError: 'NoneType' object is not subscriptable 2021-09-16 14:30:53,994 ERROR [data_transforms_factory.py, 30] 'NoneType' object is not subscriptable
bug修改
问题已解决。
运行命令如下:
报错如下: