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
I take it you mean for running MXNet training scripts, right? You don't have to set this since the SageMaker MXNet Container gets this value from the container's environment and injects it into your MXNet script's train() function for you.
Please let us know if this doesn't solve your question. Thanks!
You could use the hyperparameters dictionary in your MXNet script's train() function. Since this is just a dict[string,string], you can choose whatever key you'd like and parse the number of GPUs from that entry's value. You can pass in this dictionary to the MXNet predictor's constructor:
Activity
andremoeller commentedon Dec 27, 2017
Hi @willbadr ,
Thanks for using Amazon SageMaker!
I take it you mean for running MXNet training scripts, right? You don't have to set this since the SageMaker MXNet Container gets this value from the container's environment and injects it into your MXNet script's
train()function for you.Please let us know if this doesn't solve your question. Thanks!
wmlba commentedon Dec 27, 2017
andremoeller commentedon Dec 27, 2017
Hi @willbadr,
You could use the
hyperparametersdictionary in your MXNet script'strain()function. Since this is just adict[string,string], you can choose whatever key you'd like and parse the number of GPUs from that entry's value. You can pass in this dictionary to the MXNet predictor's constructor:sagemaker-python-sdk/src/sagemaker/mxnet/estimator.py
Lines 20 to 25 in 157d867
Add best tuning job method (aws#34)
Merge pull request aws#34 from awslabs/arpin_linear_forecast_updates
fix: Rename XGBoostEstimator->XGBoostProcessor