Hi,
After generating the feature of the first passage, I wanna compute the ranking score using the weights as the following script, but encounter the error about f0.score, which I can not find any mention.
Error in RankerFactory.load(): java.lang.NullPointerException
Traceback (most recent call last):
File "LeToR/gen_trec.py", line 48, in
main()
File "LeToR/gen_trec.py", line 19, in main
with open('f' + str(args.k+1) + '.score', 'r') as r:
FileNotFoundError: [Errno 2] No such file or directory: 'f0.score'
Hi,
Was the f0.score generated after running this script? This error occurs in running gen_trec.py, which aims to generate TREC format ranking list from f0.score, but the f0.score file is not found.
Hi, After generating the feature of the first passage, I wanna compute the ranking score using the weights as the following script, but encounter the error about f0.score, which I can not find any mention.