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

GFP face enhance export_model报错 #864

Open
xll426 opened this issue Nov 19, 2024 · 0 comments
Open

GFP face enhance export_model报错 #864

xll426 opened this issue Nov 19, 2024 · 0 comments
Assignees

Comments

@xll426
Copy link

xll426 commented Nov 19, 2024

Traceback (most recent call last):
File "tools/export_model.py", line 105, in
main(args, cfg)
File "tools/export_model.py", line 95, in main
net.set_state_dict(state_dicts[net_name])
File "/home/xlx/miniconda3/envs/BSRN/lib/python3.8/site-packages/paddle/base/framework.py", line 716, in wrapper
return func(*args, **kwargs)
File "/home/xlx/miniconda3/envs/BSRN/lib/python3.8/site-packages/paddle/nn/layer/layers.py", line 2079, in set_state_dict
match_res = _check_match(key_name, param)
File "/home/xlx/miniconda3/envs/BSRN/lib/python3.8/site-packages/paddle/nn/layer/layers.py", line 2061, in _check_match
if inspect.ismethod(state.shape)
AttributeError: 'tuple' object has no attribute 'shape'

@xll426 xll426 changed the title GFP face enhance export_onnx GFP face enhance export_model报错 Nov 19, 2024
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

2 participants