Giter VIP home page Giter VIP logo

aiohttp-keras-demo's Introduction

Imagetagger Keras Demo

Simple application how to use aiohttp for deep learning project with keras.

Imagetagger is API for image recognition, employs mobilenet network to classify images, but other supported network can be used.

Install the app:

$ git clone https://github.com/jettify/aiohttp-keras-demo.git
$ cd aiohttp-keras-demo
$ pip install -r requirements/development.txt

Run application:

$ make run

Example of request:

curl -F file=@tests/data/aircraft.jpg http://localhost:8000/predict

Example of response:

{"predictions": [
    {"label": "envelope", "probability": 0.3094555735588074},
    {"label": "airship", "probability": 0.20662210881710052},
    {"label": "carton", "probability": 0.07820204645395279},
    {"label": "freight_car", "probability": 0.056770652532577515},
    {"label": "airliner", "probability": 0.04821280017495155}],
"success": true}

Requirements

aiohttp-keras-demo's People

Contributors

arfey avatar jettify avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

arfey

aiohttp-keras-demo's Issues

Imagetagger demo app failing while "Make run" command

Hi.

Long story in short:

I carefully followed the instruciton provided in the document and when I run the
"Make run"
command then I am getting the below error.

aiohttp-keras-demo$ make run
python -m image tagger
make: python: Command not found
Makefile:34: recipe for target 'run' failed
make: *** [run] Error 127

environment:

python 3.6.8
ubuntu os onb VMware.

please advise .

How to debug the code of ImageTagger in pycharm?

I am trying to run the project in PyCharm 2019 but it throwing some error like below,

Error 1 :
Using TensorFlow backend.
C:\Users\saddam.h.SMARTV\AppData\Roaming\Python\Python36\site-packages\tensorflow\python\framework\dtypes.py:516: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.

Error 2:
ImportError: cannot import name 'routes'

so please guide me on how to debug this code in IDE.

I have 100's of clients and one image processing server (Object detection, face detection etc) and I want to process all 100 client requests at a time and return the result to all clients.

So Will this (imageTagger) project is suitable for this?

please advise me .

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.