Created
November 6, 2020 12:36
-
-
Save MassimoSporchia/34a16daaba9f0cdb9768f227231e3c93 to your computer and use it in GitHub Desktop.
This file contains 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
1. pip install jupyterlab | |
pip install tensorflow boto3 sagemaker | |
2. Then type “jupyter Lab”, the notebook should open in the browser | |
1. import tensorflow as tf | |
msg = tf.constant('Ciao mondo') | |
tf.print(msg) | |
3. Check that everything works | |
4. Now create a new Jupyter Notebook | |
1. Download this: LINK (https://raw.githubusercontent.com/aws/amazon-sagemaker-examples/master/introduction_to_applying_machine_learning/breast_cancer_prediction/Breast%20Cancer%20Prediction.ipynb) | |
2. Modify the Setup terminal | |
1. role = sagemaker.get_execution_role() | |
iam = boto3.client('iam') | |
role = iam.get_role(RoleName='sagemaker-vmware-test')['Role']['Arn'] | |
3. Modify the os.join with "/" (because Windows...") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment