question-generation icon indicating copy to clipboard operation
question-generation copied to clipboard

Execution gets stuck

Open MCFanfa opened this issue 5 years ago • 2 comments

Hey @sumehta , first of all I want to thank you for this great project. I'm using it to generate some questions for my project, and it used to work very well, but right now I'm having this annoying issue. While I'm reading a CSC file with different blocks of text generating questions for each block, it "stops" somewhere in the middle of the execution (not always on the same line), and I wonder if someone knows what might be the problem because I really can't figure it out!

MCFanfa avatar Aug 14 '19 11:08 MCFanfa

Were you able to resolve this issue? If not can you paste the output and error here?

sumehta avatar Sep 16 '19 17:09 sumehta

In my case, while debugging it prints this output: "Dec 29, 2023 5:31:21 PM net.didion.jwnl.util.MessageLog doLog\nINFO: Installing dictionary net.didion.jwnl.dictionary.FileBackedDictionary@1c2c22f3\nLoading question ranking models from models/linear-regression-ranker-reg500.ser.gz...\n" i used the example command adapted to fix the argument names: python question.py --sentence 'Handheld devices find ways to bolster U.S. homeland defense and response' --question_type 'All'

YasCoMa avatar Dec 29 '23 20:12 YasCoMa