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
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'
The text was updated successfully, but these errors were encountered:
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'
The text was updated successfully, but these errors were encountered: