Skip to content

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

Description

@XY2323819551

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions