Giter Site home page Giter Site logo

aws-samples / reinvent2019-aim362-sagemaker-debugger-model-monitor Goto Github PK

View Code? Open in Web Editor NEW
120.0 120.0 97.0 1.39 MB

Build, train & debug, and deploy & monitor with Amazon SageMaker

License: Apache License 2.0

Python 13.73% Jupyter Notebook 86.27%

reinvent2019-aim362-sagemaker-debugger-model-monitor's People

Contributors

amazon-auto avatar giuseppeporcelli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reinvent2019-aim362-sagemaker-debugger-model-monitor's Issues

AccessDenied to endtoendmlapp bucket

Followed the instructions to create a Sagemaker notebook, including creating a new IAM role as specified.

The output of cell 1 is

us-east-2
arn:aws:iam::865267486142:role/service-role/AmazonSageMaker-ExecutionRole-20200220T142024
sagemaker-us-east-2-865267486142

When I run cell 2 of train_and_Debug.ipynb, I get

---------------------------------------------------------------------------
ClientError                               Traceback (most recent call last)
<ipython-input-2-0ad42f80fc1c> in <module>()
	7 source_bucket = s3.Bucket(source_bucket_name)
	8 
----> 9 for s3_object in source_bucket.objects.filter(Prefix=source_bucket_prefix):
	10     copy_source = {
	11         'Bucket': source_bucket_name,

~/anaconda3/envs/python3/lib/python3.6/site-packages/boto3/resources/collection.py in __iter__(self)
	81 
	82         count = 0
---> 83         for page in self.pages():
	84             for item in page:
	85                 yield item

~/anaconda3/envs/python3/lib/python3.6/site-packages/boto3/resources/collection.py in pages(self)
	164         # we start processing and yielding individual items.
	165         count = 0
--> 166         for page in pages:
	167             page_items = []
	168             for item in self._handler(self._parent, params, page):

~/anaconda3/envs/python3/lib/python3.6/site-packages/botocore/paginate.py in __iter__(self)
	253         self._inject_starting_params(current_kwargs)
	254         while True:
--> 255             response = self._make_request(current_kwargs)
	256             parsed = self._extract_parsed_response(response)
	257             if first_request:

~/anaconda3/envs/python3/lib/python3.6/site-packages/botocore/paginate.py in _make_request(self, current_kwargs)
	330 
	331     def _make_request(self, current_kwargs):
--> 332         return self._method(**current_kwargs)
	333 
	334     def _extract_parsed_response(self, response):

~/anaconda3/envs/python3/lib/python3.6/site-packages/botocore/client.py in _api_call(self, *args, **kwargs)
	314                     "%s() only accepts keyword arguments." % py_operation_name)
	315             # The "self" in this scope is referring to the BaseClient.
--> 316             return self._make_api_call(operation_name, kwargs)
	317 
	318         _api_call.__name__ = str(py_operation_name)

~/anaconda3/envs/python3/lib/python3.6/site-packages/botocore/client.py in _make_api_call(self, operation_name, api_params)
	624             error_code = parsed_response.get("Error", {}).get("Code")
	625             error_class = self.exceptions.from_code(error_code)
--> 626             raise error_class(parsed_response, operation_name)
	627         else:
	628             return parsed_response

ClientError: An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied

What am I missing?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.