更换模型会提示错误【KeyError: 'IndexProcess'】
再readme里的指令,更管了模型,模型下载了,但是构建下标提示索引错误 paddleclas --build_gallery=True --model_name="pcpvt_small" -o IndexProcess.image_root=./drink_dataset_v2.0/gallery/ -o IndexProcess.index_dir=./drink_dataset_v2.0/index -o IndexProcess.data_file=./drink_dataset_v2.0/gallery/drink_label.txt
报错信息如下: File "D:\ProgramData\Miniconda3\Scripts\paddleclas-script.py", line 33, in sys.exit(load_entry_point('paddleclas==0.0.0', 'console_scripts', 'paddleclas')()) File "D:\ProgramData\Miniconda3\lib\site-packages\paddleclas-0.0.0-py3.7.egg\paddleclas\paddleclas.py", line 790, in main clas_engine = PaddleClas(**cfg) File "D:\ProgramData\Miniconda3\lib\site-packages\paddleclas-0.0.0-py3.7.egg\paddleclas\paddleclas.py", line 560, in init inference_model_dir, **kwargs) File "D:\ProgramData\Miniconda3\lib\site-packages\paddleclas-0.0.0-py3.7.egg\paddleclas\paddleclas.py", line 242, in init_config cfg_path, overrides=kwargs.get("override", None), show=False) File "D:\ProgramData\Miniconda3\lib\site-packages\paddleclas-0.0.0-py3.7.egg\paddleclas\deploy\utils\config.py", line 166, in get_config override_config(config, overrides) File "D:\ProgramData\Miniconda3\lib\site-packages\paddleclas-0.0.0-py3.7.egg\paddleclas\deploy\utils\config.py", line 155, in override_config override(config, keys, value) File "D:\ProgramData\Miniconda3\lib\site-packages\paddleclas-0.0.0-py3.7.egg\paddleclas\deploy\utils\config.py", line 128, in override override(dl[ks[0]], ks[1:], v) KeyError: 'IndexProcess'