Skip to content

Commit 0fd5919

Browse files
committed
Pass sagemaker_session to estimator
1 parent ed4ce41 commit 0fd5919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integ/test_tf_keras.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_keras(sagemaker_session, tf_full_version):
3030
with timeout(minutes=45):
3131
estimator = TensorFlow(entry_point='keras_cnn_cifar_10.py',
3232
source_dir=script_path,
33-
role='SageMakerRole',
33+
role='SageMakerRole', sagemaker_session=sagemaker_session,
3434
hyperparameters={'learning_rate': 1e-4, 'decay': 1e-6},
3535
training_steps=500, evaluation_steps=5,
3636
train_instance_count=1, train_instance_type='ml.c4.xlarge',

0 commit comments

Comments
 (0)