You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: supplying hyperparameters to training step constructor drops hyperparameters specified in estimator (aws#144)
Hyperparameters can be specified in the estimator object and hyperparameters property.
Both of which are taken in the constructor of the TrainingStep class.
The current behaviour drops any hyperparameters that were specified in the estimator if the property
is set in the TrainingStep constructor. This is undesirable as the estimators often specify algorithm specific hyperparameters out of the box that we don't want to drop.
This change merges the hyperparameters in the constructor as well as the estimator that is used in TrainingStep.
If there are duplicate keys, the hyperparameters specified in the constructor will be used.
Closesaws#99, aws#72
where each instance is a different channel of training data.
67
-
hyperparameters (dict, optional): Specify the hyper parameters for the training. (Default: None)
71
+
hyperparameters (dict, optional): Parameters used for training.
72
+
Hyperparameters supplied will be merged with the Hyperparameters specified in the estimator.
73
+
If there are duplicate entries, the value provided through this property will be used. (Default: Hyperparameters specified in the estimator.)
68
74
mini_batch_size (int): Specify this argument only when estimator is a built-in estimator of an Amazon algorithm. For other estimators, batch size should be specified in the estimator.
69
75
experiment_config (dict, optional): Specify the experiment config for the training. (Default: None)
70
76
wait_for_completion (bool, optional): Boolean value set to `True` if the Task state should wait for the training job to complete before proceeding to the next step in the workflow. Set to `False` if the Task state should submit the training job and proceed to the next step. (default: True)
0 commit comments