[go: nahoru, domu]

Skip to content

Commit

Permalink
added imports
Browse files Browse the repository at this point in the history
  • Loading branch information
antje committed Feb 19, 2021
1 parent ebd17b8 commit c890e38
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions 00_quickstart/13_Cleanup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,29 @@
"# Cleanup Resources to Reduce Cost"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from botocore.exceptions import ClientError\n",
"\n",
"import os\n",
"import sagemaker\n",
"import logging\n",
"import boto3\n",
"import sagemaker\n",
"import pandas as pd\n",
"\n",
"sess = sagemaker.Session()\n",
"bucket = sess.default_bucket()\n",
"role = sagemaker.get_execution_role()\n",
"region = boto3.Session().region_name\n",
"\n",
"sm = boto3.Session().client(service_name=\"sagemaker\", region_name=region)"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -55,13 +78,6 @@
"} \n",
"</script>"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit c890e38

Please sign in to comment.