From fcf073cf760832cb95ceb7f8e70a1c2a9df3d777 Mon Sep 17 00:00:00 2001 From: Dong Date: Tue, 24 Apr 2018 14:40:22 -0700 Subject: [PATCH] Increase # training steps for test_tf_cifar to mitigate race condition --- tests/integ/test_tf_cifar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integ/test_tf_cifar.py b/tests/integ/test_tf_cifar.py index cbc479abeb..606a008dab 100644 --- a/tests/integ/test_tf_cifar.py +++ b/tests/integ/test_tf_cifar.py @@ -37,7 +37,7 @@ def test_cifar(sagemaker_session, tf_full_version): dataset_path = os.path.join(DATA_DIR, 'cifar_10', 'data') estimator = TensorFlow(entry_point='resnet_cifar_10.py', source_dir=script_path, role='SageMakerRole', - framework_version=tf_full_version, training_steps=20, evaluation_steps=5, + framework_version=tf_full_version, training_steps=500, evaluation_steps=5, train_instance_count=2, train_instance_type='ml.p2.xlarge', sagemaker_session=sagemaker_session, train_max_run=20 * 60, base_job_name='test-cifar')