Multi-Step-Reasoning icon indicating copy to clipboard operation
Multi-Step-Reasoning copied to clipboard

No module named 'drqa.reader'; 'drqa' is not a package

Open XY2323819551 opened this issue 4 years ago • 0 comments

Hi,I want to replicate results reported in your paper sincerely, I got a few problems with Python packages, I have solved some, but I cannot solve the following errror, could you help me?

06/15/2021 05:35:43 PM: [ ---------------------------------------------------------------------------------------------------- ] 06/15/2021 05:35:43 PM: [ Load data files ] 06/15/2021 05:35:43 PM: [ Domain: web-open ] 06/15/2021 05:35:43 PM: [ Loading pickle files ] 06/15/2021 05:36:49 PM: [ Loading done! ] 06/15/2021 05:36:49 PM: [ Num train examples = 37012 ] 06/15/2021 05:36:49 PM: [ Num dev examples = 3000 ] 06/15/2021 05:36:49 PM: [ ---------------------------------------------------------------------------------------------------- ] 06/15/2021 05:36:49 PM: [ Using pretrained model... ] 06/15/2021 05:36:49 PM: [ Loading model resources/models/quasart/model.mdl ] Traceback (most recent call last): File "scripts/reader/train.py", line 605, in main(args) File "scripts/reader/train.py", line 457, in main model = Model.load(args.pretrained, args) File "/data/zhangxy/QA/multi-step/Multi-Step-Reasoning/msr/reader/model.py", line 915, in load filename, map_location=lambda storage, loc: storage File "/data/zhangxy/condenv/multiStep/lib/python3.6/site-packages/torch/serialization.py", line 303, in load return _load(f, map_location, pickle_module) File "/data/zhangxy/condenv/multiStep/lib/python3.6/site-packages/torch/serialization.py", line 469, in _load result = unpickler.load() ModuleNotFoundError: No module named 'drqa.reader'; 'drqa' is not a package

XY2323819551 avatar Jun 15 '21 09:06 XY2323819551