Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: The path (output_model_xdeepfm/0/rec.pdparams) to load model not exists. #951

Open
roy699 opened this issue Sep 15, 2023 · 0 comments

Comments

@roy699
Copy link

roy699 commented Sep 15, 2023

2023-09-14 09:56:15,651 - INFO - start load model from output_model_xdeepfm/0
Traceback (most recent call last):
File "../../../tools/infer.py", line 201, in
main(args)
File "../../../tools/infer.py", line 120, in main
load_model(model_path, dy_model)
File "/xjh_workspace/poc/yz_test/PaddleRec/tools/utils/save_load.py", line 45, in load_model
param_state_dict = paddle.load(model_prefix + ".pdparams")
File "/usr/local/lib/python3.8/dist-packages/paddle/framework/io.py", line 358, in load
model_path, config = _build_load_path_and_config(path, config)
File "/usr/local/lib/python3.8/dist-packages/paddle/framework/io.py", line 158, in _build_load_path_and_config
raise ValueError(error_msg % path)
ValueError: The path (output_model_xdeepfm/0/rec.pdparams) to load model not exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant