Multi-hopComplexKBQA
Multi-hopComplexKBQA copied to clipboard
an error in "Test the Pre-trained Model"
Hi, in the section "Test the Pre-trained Model",I simply run the shell file: .WBQ_Runner.sh,but I got an errror: UnboundLocalError: local variable 'pred_ans' referenced before assignment I checked and find that when args.do_train=0 and args.do_eval=2, the KB={},M2N={},and QUERY=set(), which means they are all empty, therefore I got empty returned value after the function "retrieve_KB()", what should I do to get the right result, I would appreciate it if anyone can give me some advice.
@Alex-9827 I was facing a similar issue, but running with args.do_eval=1
seems to work.