question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

word_embed.json missing?

See original GitHub issue

I’m trying to train/demo the code and in both cases, python config.py --mode train and python config.py --mode demo I end up hitting the same error.

The last few bits of the traceback are:

  File "config.py", line 125, in main
    train(config)
  File "/home/arjoonn/Fast-Reading-Comprehension/main.py", line 19, in train
    with open(config.word_emb_file, "r") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'data/word_emb.json'

I saw some commented out things in the download.sh file, should I be un-commenting those?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Apr 6, 2018

Hi @theSage21 you should run python config --mode prepro first to generate word and char embeddings.

0reactions
theSage21commented, Apr 8, 2018

Your closing of the issue made me assume that that was indeed the fix. 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing json payload for EmbeddedRecordsMixin #791 - GitHub
Hello It seems we are missing json payload when explaining EmbeddedRecordsMixin Atfer "For example if your post model contained an embedded ...
Read more >
Solved: Json missing field - existing solutions not workin...
I'm bringing in some json over a REST api. The problem I have is that the json structure is sometimes missing fields which...
Read more >
Tips on Documents Cloud URL Parameters: Part II
But this "missing" URL actually reduces the size of the response and ... public links only requires these two parts of the JSON...
Read more >
Missing doc for localization JSON file - Red Hat Customer Portal
Hi, in the Admin GUI under Realm Settings is a tab "Localization" with the sub-tabs "Lookup" and "Upload localization JSON file".
Read more >
Inputs/dicewareWordList.json 1.1.0.0 - PowerShell Gallery
Inputs/dicewareWordList.json ... "Word": "embed" }, { "Number": "24363", "Word": "ember" }, { "Number": "24364", "Word": "emcee" }, { "Number": "24365",
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found