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

Timeout from EXTRACTION_API for large Input.Java files #11

Closed
vbellur opened this issue May 16, 2019 · 1 comment
Closed

Timeout from EXTRACTION_API for large Input.Java files #11

vbellur opened this issue May 16, 2019 · 1 comment

Comments

@vbellur
Copy link

vbellur commented May 16, 2019

Hi,

While running interactive_predict, I get a timeout error (20s) from the extraction API if Input.Java contains multiple functions and happens to be reasonably big. Would you recommend using the JavaExtractor available in code2seq repo for such cases? Also, could you please share details on the json format used by EXTRACTION_API for encoding the output?

Thank you and very much appreciate the work that you are doing!

@urialon
Copy link
Contributor

urialon commented May 16, 2019

Yes.
The extraction API is meant to serve the website demo (code2seq.org) and small lightweight examples.
For more massive use, please use the Java Extractor to preprocess a large batch of examples, and then use the "--test" mode to feed them to the model.

Let me know if you have any more questions.

Best,
Uri

@urialon urialon closed this as completed May 24, 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