Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from sagemaker.pytorch import PyTorch
- estimator = PyTorch(entry_point="train.py",
- source_dir="train",
- role=role,
- framework_version='0.4.0',
- train_instance_count=1,
- train_instance_type='ml.p2.xlarge',
- hyperparameters={
- 'epochs': 10,
- 'hidden_dim': 200,
- })
Advertisement
Add Comment
Please, Sign In to add comment