Error running DrQA
See original GitHub issueI ran: python examples/drqa/train.py -t "#opensubtitles"
After 10 or 20 minutes:
05/25/2017 02:34:31 PM: [ Running validation... ]
Traceback (most recent call last):
File "examples/drqa/train.py", line 180, in <module>
main(opt)
File "examples/drqa/train.py", line 118, in main
valid_metric = validate(opt, doc_reader, iteration)
File "examples/drqa/train.py", line 62, in validate
valid_world.parley()
File "/Users/bittlingmayer/Desktop/aca/ParlAI/parlai/core/worlds.py", line 221, in parley
acts[1] = agents[1].act()
File "/Users/bittlingmayer/Desktop/aca/ParlAI/parlai/agents/drqa/agents.py", line 157, in act
[ex], null=self.word_dict['<NULL>'], cuda=self.opt['cuda']
File "/Users/bittlingmayer/Desktop/aca/ParlAI/parlai/agents/drqa/utils.py", line 126, in batchify
max_length = max([d.size(0) for d in docs])
File "/Users/bittlingmayer/Desktop/aca/ParlAI/parlai/agents/drqa/utils.py", line 126, in <listcomp>
max_length = max([d.size(0) for d in docs])
RuntimeError: dimension 0 out of range of 0D tensor at /Users/soumith/code/builder/wheel/pytorch-src/torch/lib/TH/generic/THTensor.c:24
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
error running running build_db.py · Issue #231 - GitHub
Hello, I'm trying to run build_db.py on the nested directory of files returned by running WikiExtractor.py on the 2018 English wiki dump, ...
Read more >Facebook DrQA error - Object arrays cannot be loaded when ...
I have installed DrQA - https://github.com/facebookresearch/DrQA. Now when I try to run it I get the following error:
Read more >Super Elevation Diagram | OpenSite Wiki - OpenRoads
Problem Description. Can I create a Super Diagram with GEOPAK. Steps to Resolve. There is an old VBA application that will read the...
Read more >How to repair corrupt AutoCAD drawings and fix its errors
If AUDIT fails to fix errors in your drawing then you can try using RECOVER tool as well. You can use this tool...
Read more >NetIQ DRA REST Services Technical Reference
If the name is misspelled or the case is incorrect, the item may be ignored by the endpoint or it may cause the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It has been tested on Squad and bAbI (the ones with answers in the context, e.g. tasks 1-5, 11-14, 16).
I’ll take a look and submit a fix whatever is going on here soon.
yes, a nice error message please!
On Wed, May 31, 2017 at 4:10 PM, Adam Fisch notifications@github.com wrote: