Created
February 12, 2020 00:18
-
-
Save shashankprasanna/5a1fd0d77eaf4fe2cf99296d13cca01a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sagemaker.estimator import Estimator | |
train_instance_type = 'local_gpu' | |
local_data_dir = 'file://./dataset' | |
rapids_estimator = Estimator(image_name='sagemaker-rapids:latest', | |
role=role, | |
train_instance_count=1, | |
train_instance_type=train_instance_type, | |
hyperparameters=hyperparams, | |
metric_definitions=[{'Name': 'test_acc', 'Regex': 'test_acc: ([0-9\\.]+)'}]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment