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

KeyError: 'map' #9

Open
Germannson opened this issue Jul 26, 2020 · 0 comments
Open

KeyError: 'map' #9

Germannson opened this issue Jul 26, 2020 · 0 comments

Comments

@Germannson
Copy link

I got the key error on 'map'. after running a epoch.

Epoch 1/100
12122/12122 [==============================] - 48s 4ms/step - loss: 0.4155 - accuracy: 0.8121 - val_loss: 0.3604 - val_accuracy: 0.8384
queries: 100%|██████████| 100/100 [00:10<00:00, 9.83it/s]

The recent trace is from pacrr_utils.py, line 395.
File "...\deep-relevance-ranking\models\pacrr\utils\pacrr_utils.py", line 395, in rerank
reported_results = {'map': trec_eval_metrics['map'], 'P_10': trec_eval_metrics['P_10'], 'P_20': trec_eval_metrics['P_20'],'ndcg_cut_10': trec_eval_metrics['ndcg_cut_10'], 'ndcg_cut_20': trec_eval_metrics['ndcg_cut_20']}

If I can get into this line, I have already install all necessary packages.
What is causing this issue? Thanks.

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