-
Notifications
You must be signed in to change notification settings - Fork 163
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
Invalid Argument Error? #4
Comments
On a related note, could you please explain the role of |
Hi Pankaj,
|
Hello, thank you for the response! Yes, I'm using another dataset for which I wrote another extractor, and then I ran My understanding of the extraction step is that I specify the target as say, the method name or a caption and in the list of contexts, I can specify any type of component suitable for my problem. My extracted rows deal with code lines individually and are of the form So just to clarify, how would you suggest me to account for |
That's right! There are several things to notice:
Where |
Thank you for your help, this clarified a lot!! :) |
Btw, wanted to seek understanding on your usage of Abstract Syntax Tree in extraction step. Quoting from the paper:
Does this mean that given the AST, you are extracting all possible terminal-to-terminal paths from the tree and extracting contexts in the form |
basically yes, see also Section 2 of the code2vec paper, where it is explained more thoroughly: |
Hi, thanks for this great work! Can you clarify the below issue? This is the Stack trace for an error I am facing when I run
train.sh
. Any ideas on why this is happening?The text was updated successfully, but these errors were encountered: