Code Monkey home page Code Monkey logo

pretrained.ml's Introduction

[DEPRECATED] pretrained.ml

[DEPRECATED] Sortable and searchable compilation of pre-trained deep learning models. With demos and code.

DEPRECATED: You can find an alternative on modeldepot.io (with live demos) or on modelzoo.co

A word of warning

This is running on a server without GPU, hence it seems slow.

Also, the code may look a bit like monkey-patching for the following reasons:

  • Models are cloned as submodules: therefore we have to mess around with the python path :-(
  • There is a queuing systems for the jobs (allows user to see their job's position in the queue)

About

Having spent too much time installing deep learning models just to evaluate their performance, I created this repo for several reasons:

  • Access a free demo of deep learning models
  • Gather available deep learning models
  • Get a docker container running the model for a quick install

Installation

Requirements: Docker, docker-compose and enough space free for the model weights.

git clone https://github.com/EliotAndres/pretrained.ml --recursive
cd containers
docker-compose build
docker-compose up -d

Useful commands

docker ps #list images
docker attach [container_id] #attach a shell to specific image

Contributing

Many models are missing. Any help is welcome ! You have two options to contribute.

Easy way: Add a model to the list without a demo:

  • Fork the repo
  • Edit the docs/models.yaml file (you can even edit it with Github's editor)
  • Make a pull request

Other way: add a model with a demo:

  • Fork the repo
  • Add the model inside one of the docker containers
  • Create a route in the serve.py file
  • Add a demo calling the route
  • Make a pull request

Todos

  • Use nvidia-docker ?
  • Add flag to compile Tensorflow
  • Consider splitting each model in a different container ?
  • Linter
  • Add analytics

pretrained.ml's People

Contributors

andreseliot avatar eliotandres avatar nwchen 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.