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

Flask server bad file descriptor #55

Open
salahaz opened this issue Apr 26, 2021 · 1 comment
Open

Flask server bad file descriptor #55

salahaz opened this issue Apr 26, 2021 · 1 comment

Comments

@salahaz
Copy link

salahaz commented Apr 26, 2021

Hello I receive the following error when running the flask based server, any suggestions on how to resolve this ?

Traceback (most recent call last): File "online/server.py", line 70, in <module> model = RESIDE(args) File "/Users/salahazekour/Documents/Projects/RESIDE-master/online/base_model.py", line 218, in __init__ nn_out, self.accuracy = self.add_model() File "/Users/salahazekour/Documents/Projects/RESIDE-master/online/online_reside.py", line 260, in add_model embed_init = getEmbeddings(model, self.wrd_list, self.p.embed_dim) File "./helper.py", line 30, in getEmbeddings for line in open(embed_loc): OSError: [Errno 9] Bad file descriptor

@salahaz
Copy link
Author

salahaz commented Apr 26, 2021

@svjan5 any suggestions on how to resolve this ?

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

1 participant