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

Add scripts for graph-level classification #107

Draft
wants to merge 5 commits into
base: development
Choose a base branch
from

Conversation

ChrisCummins
Copy link
Owner

@ChrisCummins ChrisCummins commented Aug 27, 2020

Work-in-progress PR which adds an implementation of graph-level classification, as used for the downstream classifyapp and devmap tasks in the arXiv paper.

@ChrisCummins ChrisCummins force-pushed the feature/classifyapp_81 branch from 9b10303 to 4b33172 Compare August 27, 2020 11:13
Comment on lines +16 to +17
--log_dir LOG_DIR Directory(*) to store logfiles and trained models relative to repository dir.
[default: programl/task/graph_level_classification/logs/unspecified]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ChrisCummins would you like to specify a default log dir here? it is relative to the repository dir.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the dataflow experiment I put logs/ inside the root of the dataset, see: https://github.com/ChrisCummins/ProGraML/blob/development/programl/Documentation/DataflowDataset.md#directory-layout

I think it makes sense to do that with the classifyapp/devmap too

@Zacharias030
Copy link
Collaborator

@ChrisCummins I used to have a from programl.proto.program_graph_pb2 import ProgramGraph available. Where do I get it?

@ChrisCummins
Copy link
Owner Author

@ChrisCummins I used to have a from programl.proto.program_graph_pb2 import ProgramGraph available. Where do I get it?

It is still there, but it won't show up until I hook it into the bazel build system. In the meantime, you can compile the proto files yourself with:

$ protoc programl/proto/*.proto --python_out=.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Machine Learning Anything relevant to //deeplearning/ml4pl/models
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add test datasets for classifyapp, devmap, and dataflow Add code for graph-level tasks
2 participants