Skip to content

Commit

Permalink
Pass sagemaker_session to estimator
Browse files Browse the repository at this point in the history
  • Loading branch information
yangaws committed Aug 27, 2018
1 parent ed4ce41 commit 0fd5919
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integ/test_tf_keras.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_keras(sagemaker_session, tf_full_version):
with timeout(minutes=45):
estimator = TensorFlow(entry_point='keras_cnn_cifar_10.py',
source_dir=script_path,
role='SageMakerRole',
role='SageMakerRole', sagemaker_session=sagemaker_session,
hyperparameters={'learning_rate': 1e-4, 'decay': 1e-6},
training_steps=500, evaluation_steps=5,
train_instance_count=1, train_instance_type='ml.c4.xlarge',
Expand Down

0 comments on commit 0fd5919

Please sign in to comment.