Giter VIP home page Giter VIP logo

human-in-picture-concrete-ml's Introduction

Human In Picture (HIP) using Concrete ML

Objective

  • Create a CNN using Concrete ML to identify if there is a human in a picture.
  • Identify the performance limits of a model for this problem using Concrete ML.
  • Create benchmarks for different sizes of the input.

Requirements

Kaggle account

  • You will need to have a Kaggle account in order to download the dataset, we recommend using Google Login.
  • After creating an account you will need to download a kaggle.json file as the API key.
  • You can find that file by going to Your Profile and scrolling down to the API section.
  • Then create a new token and you will download the kaggle.json.
  • Create a new hidden dictory called .kaggle in the home directory.
  • Move kaggle.json to .kaggle

Python version

  • Required Python version: 3.10 < 3.11
  • This project uses Poetry. If you don't already have Poetry installed, make deps will install it for you.
    • Make sure to have installed curl before running the command.

Installation

Dependencies

  • To install dependencies you will need to run:
make deps

Dataset

  • To download the dataset you will need to run:
make data

Running the project

Single run

  • To run the project only once you'll need to run:
make run

Benchmarks

  • To run the benchmarks you'll need to run:
make benchmark
  • This will run the benchmarks for the following input sizes:
    • 32x32
    • 64x64
    • 96x96
    • 128x128
  • Brace yourself, this will take a while.

Webapp

make webapp

References


human-in-picture-concrete-ml's People

Contributors

glpecile avatar juarce avatar rcatalan98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.