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

pretrained models - example not working #389

Closed
pgroth opened this issue Aug 15, 2018 · 2 comments
Closed

pretrained models - example not working #389

pgroth opened this issue Aug 15, 2018 · 2 comments

Comments

@pgroth
Copy link

pgroth commented Aug 15, 2018

I'm trying to just run a simple pretrained model following the instructions on the from the readme

Traceback (most recent call last):
  File "jack_test.py", line 4, in <module>
    fastqa_reader = readers.reader_from_file("./fastqa_reader")
  File "/jackthereader/jack/jack/readers/implementations.py", line 60, in reader_from_file
    shared_resources.load(os.path.join(load_dir, "shared_resources"))
  File "/jackthereader/jack/jack/core/shared_resources.py", line 70, in load
    for f in os.listdir(path):
NotADirectoryError: [Errno 20] Not a directory: './fastqa_reader/shared_resources'

Looking instead the the director. shared_resources is indeed not a directory. There is a shared_resources_vocab directory.

Any thoughts?

@dirkweissenborn
Copy link
Collaborator

dirkweissenborn commented Aug 15, 2018 via email

@pgroth
Copy link
Author

pgroth commented Aug 16, 2018

Thanks that works!

@pgroth pgroth closed this as completed Aug 16, 2018
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