Skip to content

Display preview of image using matplotlib #269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Conversation

adamrb
Copy link

@adamrb adamrb commented Jun 5, 2018

Display preview of image being tested against the endpoint use the matplotlib library.

Display preview of image being tested against the endpoint use the matplotlib library.
Copy link
Contributor

@djarpin djarpin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @adamrb . Can you fix the comment I left? Also, if you can implement for the tensorflow_local_mode_mnist.ipynb notebook too, that would help us maintain consistency.

@@ -205,6 +205,7 @@
"outputs": [],
"source": [
"import numpy as np\n",
"import import matplotlib.pyplot as plt\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"import" is listed twice, which throws and error.

@ajaykarpur ajaykarpur closed this Dec 17, 2020
atqy pushed a commit to atqy/amazon-sagemaker-examples that referenced this pull request Aug 16, 2022
…ws#269)

* Add loss registration to PT by calling hook.register_loss(criterion)wq

* Change output0 to output_0 for consistencywq

* Hide some overwhelming logging

* Case-sensitive checks

* Fix loss regex
akrishna1995 added a commit that referenced this pull request Nov 30, 2023
* feat: Add notebooks for step decorator (#272)

* UCI heart example for step decorator with EMR step for preprocessing (#266)

* UCI heart example for step decorator with EMR step for preprocessing

* UCI heart example for step decorator with EMR step, after linter

* UCI heart example for step decorator with EMR step, after linter

* removed content_types

* using prod S3 bucket

* using XGBClassifier

* fix code format

---------

Co-authored-by: feliplp <[email protected]>
Co-authored-by: Dewen Qi <[email protected]>

* add notebook example on basic pipeline for batch inference using step decorator (#264)

* add basic pipeline for batch inference using step decorator

* change Booster to XGBClassifier; incorporating feedback from aws/amazon-sagemaker-examples-staging#264

* fix minor typos

* incorporate comments from PR aws/amazon-sagemaker-examples-staging#264

* incorporate feedback from aws/amazon-sagemaker-examples-staging#264

---------

Co-authored-by: pprasety <[email protected]>

* Add remote-function notebook fixes (#265)

Co-authored-by: svia3 <[email protected]>

* Add pipeline step decorator quick start notebook (#267)

add pipeline scheduler examples

Address comments and refine

Add pipeline step decorator ablone notebook

Address review meeting comments

Update clean up sections

Add rate-based schedules back

Udpate notebooks for Public Beta

Fix the colliding endpoint name across different executions

Upgrading pandas to fix ImportError in Studio DataScience 3.0 image

add scheduler-light additions to quick_start notebook

add scheduler-light additions to quick_start notebook

fix invalid notebook json

Update notebooks for GA

Add modular package for lightsaber

Add a simple notebook to demonstrate mix use of training step and step deco

Address comments

fix pipeline delete resouce leak issue in using_step_decorator notebook

dummy commit

Co-authored-by: Dewen Qi <[email protected]>

* remove local SDK tar and retrieve SDK from public

---------

Co-authored-by: Felipe Lopez <[email protected]>
Co-authored-by: feliplp <[email protected]>
Co-authored-by: Dewen Qi <[email protected]>
Co-authored-by: Philips Kokoh <[email protected]>
Co-authored-by: pprasety <[email protected]>
Co-authored-by: Stephen Via <[email protected]>
Co-authored-by: svia3 <[email protected]>

* Notebook Job Step Example (#274)

* Create README.md

* Adding notebooks

* Delete sagemaker-pipelines/notebook-job-step/README.md

* Adding example for inference components and managed instance scaling for SageMaker real time hosting and inference (#275)

* Cleaned up notebooks

Cleaned up for initial push to staging

* removed references to goldfinch

* Updated readme

* moved to proper directory

* fixed session object reference

* Updated session variable

* Updated with logic to check store vars. Need to remove internal only code

* linted notebooks and added test header and footers

* Fixed prompt and parameters for codegen25

* Updated descriptions, added handling

* Removed custom model shapes

* Making Jumpstart notebooks Python 3.10 compatible (#269)

* removed roleARN which is not needed

* smart sifting notebooks (#281)

* smart sifting notebooks

* smart sifting notebooks updated description

* Added new flow diagram

---------

Co-authored-by: Arun Lokanatha <[email protected]>

---------

Co-authored-by: qidewenwhen <[email protected]>
Co-authored-by: Felipe Lopez <[email protected]>
Co-authored-by: feliplp <[email protected]>
Co-authored-by: Dewen Qi <[email protected]>
Co-authored-by: Philips Kokoh <[email protected]>
Co-authored-by: pprasety <[email protected]>
Co-authored-by: Stephen Via <[email protected]>
Co-authored-by: svia3 <[email protected]>
Co-authored-by: Ram Vegiraju <[email protected]>
Co-authored-by: James Park <[email protected]>
Co-authored-by: Pooja Karadgi <[email protected]>
Co-authored-by: Arun Lokanatha <[email protected]>
Co-authored-by: Arun Lokanatha <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants