Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Failed: IOError ([Errno 2] No such file or directory: '../model/vocabulary.json') #38

Closed
tslmy opened this issue Jan 28, 2019 · 1 comment

Comments

@tslmy
Copy link

tslmy commented Jan 28, 2019

======================================================================
ERROR: Failure: IOError ([Errno 2] No such file or directory: '../model/vocabulary.json')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/local/lib/python2.7/dist-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/local/lib/python2.7/dist-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/content/DeepMoji/tests/test_sentence_tokenizer.py", line 26, in <module>
    with open('../model/vocabulary.json', 'r') as f:
IOError: [Errno 2] No such file or directory: '../model/vocabulary.json'

----------------------------------------------------------------------
Ran 25 tests in 33.304s

FAILED (errors=1)
@bfelbo
Copy link
Owner

bfelbo commented Jan 30, 2019

The missing file is right here: https://github.com/bfelbo/DeepMoji/blob/master/model/vocabulary.json Make sure your folders are in the right places :)

@bfelbo bfelbo closed this as completed Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants