春笋

Results 11 comments of 春笋

total error hints: File "/home/chen/OD/MMOCR_tutorials/mmocr_demo05.py", line 22, in result = model_inference(model, input_path) File "/home/chen/anaconda3/envs/pytorch/lib/python3.8/site-packages/mmocr/apis/inference.py", line 113, in model_inference test_pipeline = Compose(cfg.data.test.pipeline) File "/home/chen/.local/lib/python3.8/site-packages/mmdet-2.23.0-py3.8.egg/mmdet/datasets/pipelines/compose.py", line 23, in __init__ transform = build_from_cfg(transform,...

pytorch's envs has installed several reposities including mmdet,mmcls,mmocr

I tried it. It is still the same.

i debug The file. it only executed mmdet pipline Register not mmocr. it calls Compose In mmdet.

i found The problem. import mmocr.datasets.pipelines it is ok. I think this is a little bug.

我感觉数据集定义好像也没么问题,难道要重新定义columns么,用的都是缺省参数。

是题主script_url那一行不要吗?我感觉它和代码提供的数据集是一样的。