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

Fixes needed for command line options in GNN code #25

Open
bernt-matthias opened this issue Dec 12, 2023 · 0 comments
Open

Fixes needed for command line options in GNN code #25

bernt-matthias opened this issue Dec 12, 2023 · 0 comments

Comments

@bernt-matthias
Copy link
Contributor

The code starting here is essentially

    arguments = createArgsFromJson(
        opts.configFile, ignore_elements, return_json_object=False
    )
    opts = cp.args.TrainArgs().parse_args(arguments)
    mean_score, std_score = cp.train.cross_validate(args=opts, train_func=cp.train.run_training)

If I get it right: you always overwrite the command line arguments with the content from the json file. This should happen only if a json file is given.

ping @soulios

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

1 participant