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

Getting ValueError: Can't read file: s2v_old/cfg #5

Closed
vinidixit opened this issue Sep 3, 2020 · 7 comments
Closed

Getting ValueError: Can't read file: s2v_old/cfg #5

vinidixit opened this issue Sep 3, 2020 · 7 comments

Comments

@vinidixit
Copy link

Hi,

I am getting ValueError: Can't read file: s2v_old/cfg at line main.QGen()
I tried with other call qe= main.BoolQGen() which is running fine. I am using Python 3.7

@ramsrigouthamg
Copy link
Owner

Hi @vinidixit ! Thanks for opening an issue. We will look into it as soon as we get the time and respond back. Thanks!

@ramsrigouthamg
Copy link
Owner

@vinidixit Meanwhile can you give us more information? If the error happens in Google Colab or when you run locally? Can you give us more info on where you are running it? Thanks

@vinidixit
Copy link
Author

vinidixit commented Sep 3, 2020 via email

@ramsrigouthamg
Copy link
Owner

@vinidixit Thanks! Meanwhile, you can experiment with our Google Colab notebook as we take a deeper look into local environment error.

@vinidixit
Copy link
Author

vinidixit commented Sep 3, 2020 via email

@parthplc
Copy link
Collaborator

parthplc commented Sep 3, 2020

I think it is not able to access the s2v_old.U might need to the given the exact path instead of relative path. In main.py change

self.s2v = Sense2Vec().from_disk('s2v_old')
## change to 
self.s2v = Sense2Vec().from_disk('path_ to_folder\s2v_old')

Hope this works! @vinidixit

@vinidixit
Copy link
Author

It is working now. Thank you for your quick help. :)

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

3 participants