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 Prediction and Online_Reside.py #54

Open
Anshul-Birla opened this issue Jan 9, 2021 · 1 comment
Open

Flask Server Prediction and Online_Reside.py #54

Anshul-Birla opened this issue Jan 9, 2021 · 1 comment

Comments

@Anshul-Birla
Copy link

Anshul-Birla commented Jan 9, 2021

Hi! I have been trying to use RESIDE's online code, but I keep on running into an issue where the server just displays NA for the predicted relation. There are no errors in the flask server. How can I get RESIDE to predict the relation?

Another questions is what is the output of Online_Reside.py. I have ran the program successfully, but there does not seem to be anything outputted, and diving into the code has not been much help

@vinhqngo5
Copy link

I ran on the same issue!! Did you have any solution for this problem yet?
I noticed that, in online_reside.py has this:
embed_init = getEmbeddings(model, self.wrd_list, self.p.embed_dim)
which caused wrong arguments, so I try this:
embed_init = getPhr2vec(model, self.wrd_list, self.p.embed_dim)
And finally get the same issue as yours
image

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