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
When I run "python3 evaluate_st.py --name ft_ResNet50_pcb_market_e ", I have some problems.
problem like this:
*** KeyError: 'query_f'
I load model is "model/modelft_ResNet50_pcb_market_e/pytorch_result2.mat", which from the link (baiduyun Link:https://pan.baidu.com/s/1QMp22dVGJvBH45e4XPdeKw password:dn7b).
I checked the code:
result = scipy.io.loadmat('model/'+name+'/'+'pytorch_result2.mat')
I found "result" has no key 'query_f'.
I don't know how to operate.
The text was updated successfully, but these errors were encountered:
When I run "python3 evaluate_st.py --name ft_ResNet50_pcb_market_e ", I have some problems.
problem like this:
*** KeyError: 'query_f'
I load model is "model/modelft_ResNet50_pcb_market_e/pytorch_result2.mat", which from the link (baiduyun Link:https://pan.baidu.com/s/1QMp22dVGJvBH45e4XPdeKw password:dn7b).
I checked the code:
result = scipy.io.loadmat('model/'+name+'/'+'pytorch_result2.mat')
I found "result" has no key 'query_f'.
I don't know how to operate.
I guess the file path could be incorrect.
"model/modelft_ResNet50_pcb_market_e/pytorch_result2.mat"
should be
"model/ft_ResNet50_pcb_market_e/pytorch_result2.mat"
I think you can check your path, and use the os module to construct the correct path, e.g., os.path.join(xxx,xxx).
When I run "python3 evaluate_st.py --name ft_ResNet50_pcb_market_e ", I have some problems.
problem like this:
*** KeyError: 'query_f'
I load model is "model/modelft_ResNet50_pcb_market_e/pytorch_result2.mat", which from the link (baiduyun Link:https://pan.baidu.com/s/1QMp22dVGJvBH45e4XPdeKw password:dn7b).
I checked the code:
result = scipy.io.loadmat('model/'+name+'/'+'pytorch_result2.mat')
I found "result" has no key 'query_f'.
I don't know how to operate.
The text was updated successfully, but these errors were encountered: