GithubHelp home page GithubHelp logo

aws-samples / deep-visual-search-workshop Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 3.93 MB

Workshop to create a visual search engine using Amazon SageMaker and Amazon OpenSearchService

License: MIT No Attribution

Python 16.91% Jupyter Notebook 83.09%
cnn-model opensearch opensearch-examples sagemaker sagemaker-example search search-engine visual-search xception-model knn

deep-visual-search-workshop's Introduction

Welcome to Deep Visual Search Lab

This repository is part of the ANZ Summit 2022 DevLabs to create a visual search application using Amazon SageMaker and Amazon OpenSearch Service

How does it work?

We will use Fashion Images from feidegger, a zalandoresearch dataset as a reference image to generate a 2048 feature vector using a convolutional neural networks and gets stored into Amazon OpenSearch KNN index

When we present a new query image, it's computing the related feature vector from Amazon SageMaker hosted model and queries Amazon OpenSearch KNN index to find similar images

Getting started

If you're using your own AWS account

Use cdk to provision resources by cloning the IaC (Infrastructure as Code) repo and following the instructions there

$ git clone https://github.com/aws-samples/deep-visual-search-workshop-infra.git

At an AWS event

  1. Open Amazon SageMaker through AWS console.

  1. In the Amazon SageMaker console, click on Studio.

  1. A user named "ml-engineer-1" is pre-created for you, select Studio from the Launch app selector to launch SageMaker Studio. We'll be using this for the rest of the lab.

  1. Once the Jupyter environment is loaded, launch a System Terminal from the Launcher.

  1. On the terminal, clone the lab repository.
$ git clone https://github.com/aws-samples/deep-visual-search-workshop.git
  1. Finally, launch visual-image-search.ipynb from the deep-visual-search-workshop folder. Wait until the kernel is ready.

  1. Clear all outputs from the Edit menu to get a blank slate for this lab.

  1. Ensure there are no stale SageMaker endpoints in the account from previous sessions. If you see any endpoints, select and delete through the console. Obviously you don't want to delete the endpoints that you need if you're using a personal account.

  1. You're all set! Please follow along the rest of the instruction within the notebook to complete the lab.

Important

Please don't forget to run the cleanup commands before leaving. These are given in the last cell of the notebook.

Survey

Thank you for participating in this lab. Please leave us feedback to let us know how we did and for us to improve in future labs. If the QR code below doesn't work, you can click on the link here.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

deep-visual-search-workshop's People

Contributors

dependabot[bot] avatar vatsalshah1990 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

patrixgdd

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.