JiaquanYe / TableMASTER-mmocr

2nd solution of ICDAR 2021 Competition on Scientific Literature Parsing, Task B.
Apache License 2.0
410 stars 100 forks source link

Master is not registy,是需要单独用master训练? #29

Closed cqray1990 closed 2 years ago

cqray1990 commented 2 years ago
return build_from_cfg(cfg, registry, default_args)

File "/python3.6/site-packages/mmcv/utils/registry.py", line 44, in build_from_cfg f'{obj_type} is not in the {registry.name} registry') KeyError: 'MASTER is not in the detector registry'

JiaquanYe commented 2 years ago
return build_from_cfg(cfg, registry, default_args)

File "/python3.6/site-packages/mmcv/utils/registry.py", line 44, in build_from_cfg f'{obj_type} is not in the {registry.name} registry') KeyError: 'MASTER is not in the detector registry'

It seems like that you do not install mmocr package by run 'pip install -v -e .' in this repo's mmocr folder. We also recommend you to use the docker enrivonment by run 'docker pull jiaquanye/tablemaster_mmocr:v1'

cqray1990 commented 2 years ago

i get it