You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING:root:failed to import ujson, using json instead
The config file(/home/fastdeploy/DocLayout/config.yaml) related to weight file(/home/fastdeploy/DocLayout/PP-DocLayout-L_pretrain.pdparams) is not exist, use default instead.
Traceback (most recent call last):
File "/home/fastdeploy/PaddleX/paddlex/repo_apis/base/config.py", line 30, in _create_config
model_info = get_registered_model_info(model_name)
File "/home/fastdeploy/PaddleX/paddlex/repo_apis/base/register.py", line 78, in query
return self._table[prim_key]
KeyError: 'PP-DocLayout-L'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/fastdeploy/PaddleX/paddlex/utils/result_saver.py", line 29, in wrap
result = func(self, *args, **kwargs)
File "/home/fastdeploy/PaddleX/paddlex/engine.py", line 47, in run
return self._model.export()
File "/home/fastdeploy/PaddleX/paddlex/model.py", line 108, in export
exportor = build_exportor(self._config)
File "/home/fastdeploy/PaddleX/paddlex/modules/base/exportor.py", line 44, in build_exportor
return BaseExportor.get(model_name)(config)
File "/home/fastdeploy/PaddleX/paddlex/modules/base/exportor.py", line 66, in init
self.pdx_config, self.pdx_model = build_model(
File "/home/fastdeploy/PaddleX/paddlex/modules/base/build_model.py", line 32, in build_model
config = Config(model_name, config_path)
File "/home/fastdeploy/PaddleX/paddlex/repo_apis/base/config.py", line 32, in _create_config
raise UnsupportedParamError(
paddlex.utils.errors.others.UnsupportedParamError: 'PP-DocLayout-L' is not a registered model name.
请问这个该怎么处理?
The text was updated successfully, but these errors were encountered:
Checklist:
描述问题
paddlex版本:3.0-rc
python main.py -c paddlex/configs/modules/layout_detection/PP-DocLayout-L.yaml -o Global.mode=export -o Export.weight_path=/home/fastdeploy/DocLayout/PP-DocLayout-L_pretrain.pdparams
WARNING:root:failed to import ujson, using json instead
The config file(
/home/fastdeploy/DocLayout/config.yaml
) related to weight file(/home/fastdeploy/DocLayout/PP-DocLayout-L_pretrain.pdparams
) is not exist, use default instead.Traceback (most recent call last):
File "/home/fastdeploy/PaddleX/paddlex/repo_apis/base/config.py", line 30, in _create_config
model_info = get_registered_model_info(model_name)
File "/home/fastdeploy/PaddleX/paddlex/repo_apis/base/register.py", line 78, in query
return self._table[prim_key]
KeyError: 'PP-DocLayout-L'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/fastdeploy/PaddleX/paddlex/utils/result_saver.py", line 29, in wrap
result = func(self, *args, **kwargs)
File "/home/fastdeploy/PaddleX/paddlex/engine.py", line 47, in run
return self._model.export()
File "/home/fastdeploy/PaddleX/paddlex/model.py", line 108, in export
exportor = build_exportor(self._config)
File "/home/fastdeploy/PaddleX/paddlex/modules/base/exportor.py", line 44, in build_exportor
return BaseExportor.get(model_name)(config)
File "/home/fastdeploy/PaddleX/paddlex/modules/base/exportor.py", line 66, in init
self.pdx_config, self.pdx_model = build_model(
File "/home/fastdeploy/PaddleX/paddlex/modules/base/build_model.py", line 32, in build_model
config = Config(model_name, config_path)
File "/home/fastdeploy/PaddleX/paddlex/repo_apis/base/config.py", line 32, in _create_config
raise UnsupportedParamError(
paddlex.utils.errors.others.UnsupportedParamError: 'PP-DocLayout-L' is not a registered model name.
请问这个该怎么处理?
The text was updated successfully, but these errors were encountered: