-
Notifications
You must be signed in to change notification settings - Fork 12
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
Merging configs #362
Merging configs #362
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah nice, looks good to me.
@zhiyil-graphcore , before I merge, can you double-check that it works well? |
if args.config is not None: | ||
CONFIG_FILE = args.config | ||
args, unknown_args = parser.parse_known_args() | ||
cfg = load_yaml_config(CONFIG_FILE, MAIN_DIR, unknown_args) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be more convenient to add these two lines so that we could load config from command line:
` if args.config is not None:
CONFIG_FILE = args.config`
I tested the large mix configs, they run ok with merged dicts. |
@@ -172,7 +185,7 @@ architecture: | |||
|
|||
gnn: # Set as null to avoid a post-nn network | |||
in_dim: 64 # or otherwise the correct value | |||
out_dim: &gnn_dim 128 | |||
out_dim: &gnn_dim 64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We might need a out_dim of 128 for gcn so that the model size for the 3 models (gcn, gin, gine) stay around 170k. It's not a big deal if this is more of a sample script as we still have those baseline script to reproduce the results reported on paper.
Changelogs
Checklist:
feature
,fix
ortest
(or ask a maintainer to do it for you).discussion related to that PR