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
The hyperparameters sent by the client have an underscore in them (e.g. train_batch_size), whereas those received by the argparser have a hyphen (e.g. train-batch-size). Therefore, values do not get propagated through the train.py file.
Description
The hyperparameters sent by the client have an underscore in them (e.g.
train_batch_size
), whereas those received by the argparser have a hyphen (e.g.train-batch-size
). Therefore, values do not get propagated through thetrain.py
file.Files
I have tested the solution on these files
notebooks/sagemaker/01_getting_started_pytorch/sagemaker-notebook.ipynb
notebooks/sagemaker/01_getting_started_pytorch/scripts/train.py
but I suspect we'll have to update
train.py
in the following folders as well -05_spot_instances
,06_sagemaker_metrics
Solution (based on my observation)
In the
train.py
file, swap these lines -with these
The text was updated successfully, but these errors were encountered: