Skip to content

Fixes needed for command line options in GNN code #25

@bernt-matthias

Description

@bernt-matthias

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions