Skip to content

Linking arguments after loading a data module? #15613

Discussion options

You must be logged in to vote

The link_argument's source and target keys follow the same structure as the config files. If only the data is in subclass mode, not the model, then the link would be as:

parser.link_arguments("data.init_args.batch_size", "model.batch_size")

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rohanshad
Comment options

Answer selected by rohanshad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment