Coder Social home page Coder Social logo

cnn_partition's Introduction

cnn_partition

Run the server

export FLASK_APP=cnn_server.py
python -m flask run --host=0.0.0.0

Send requests

python cnn_client.py

Input/output

inceptionv3_mix2_split0.tflite
input: [<tf.Tensor 'input_6:0' shape=(?, 299, 299, 3) dtype=float32>]
output: [<tf.Tensor 'mixed1/concat:0' shape=(?, 35, 35, 288) dtype=float32>]
-----------------------------
inceptionv3_mix4_split0.tflite
input: [<tf.Tensor 'input_10:0' shape=(?, 299, 299, 3) dtype=float32>]
output: [<tf.Tensor 'mixed3/concat:0' shape=(?, 17, 17, 768) dtype=float32>]
-----------------------------
inceptionv3_mix3_split0.tflite
input: [<tf.Tensor 'input_8:0' shape=(?, 299, 299, 3) dtype=float32>]
output: [<tf.Tensor 'mixed2/concat:0' shape=(?, 35, 35, 288) dtype=float32>]
-----------------------------
inceptionv3_mix0_split0.tflite
input: [<tf.Tensor 'input_2:0' shape=(?, 299, 299, 3) dtype=float32>]
output: [<tf.Tensor 'max_pooling2d_6/MaxPool:0' shape=(?, 35, 35, 192) dtype=float32>]
-----------------------------
inceptionv3_mix5_split0.tflite
input: [<tf.Tensor 'input_12:0' shape=(?, 299, 299, 3) dtype=float32>]
output: [<tf.Tensor 'mixed4/concat:0' shape=(?, 17, 17, 768) dtype=float32>]
-----------------------------
inceptionv3_mix7_split0.tflite
input: [<tf.Tensor 'input_16:0' shape=(?, 299, 299, 3) dtype=float32>]
output: [<tf.Tensor 'mixed6/concat:0' shape=(?, 17, 17, 768) dtype=float32>]
-----------------------------
inceptionv3_mix8_split0.tflite
input: [<tf.Tensor 'input_18:0' shape=(?, 299, 299, 3) dtype=float32>]
output: [<tf.Tensor 'mixed7/concat:0' shape=(?, 17, 17, 768) dtype=float32>]
-----------------------------
inceptionv3_mix1_split0.tflite
input: [<tf.Tensor 'input_4:0' shape=(?, 299, 299, 3) dtype=float32>]
output: [<tf.Tensor 'mixed0/concat:0' shape=(?, 35, 35, 256) dtype=float32>]
-----------------------------
inceptionv3_mix6_split0.tflite
input: [<tf.Tensor 'input_14:0' shape=(?, 299, 299, 3) dtype=float32>]
output: [<tf.Tensor 'mixed5/concat:0' shape=(?, 17, 17, 768) dtype=float32>]

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.