Skip to content

Commit 05dd515

Browse files
authored
Specify named arguments for PyTorchModel in test_mnist (#7)
1 parent ced40f5 commit 05dd515

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/sagemaker/test_mnist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ def _test_mnist_distributed(sagemaker_session, ecr_image, instance_type):
4848
pytorch = PyTorchModel(model_data,
4949
'SageMakerRole',
5050
mnist_script,
51-
ecr_image,
52-
sagemaker_session)
51+
image=ecr_image,
52+
sagemaker_session=sagemaker_session)
5353

5454
with timeout_and_delete_endpoint(endpoint_name, sagemaker_session, minutes=30):
5555
predictor = pytorch.deploy(initial_instance_count=1, instance_type=instance_type,

0 commit comments

Comments
 (0)