tobegit3hub / deep_image_model

Deep convolution/recurrent neural network project with TensorFlow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deep CNN and RNN

The classic deep convolution and recurrent neural network project with TensorFlow. You can learn and run CNN easily.

  • Train/test/inference images included.
  • Visualize images with matplotlib.
  • Support checkpoint and tensorboard.
  • Easy to extend more convolution layers.
  • Support CNN, LSTM, Bicondictional LSTM and Stacked LSTM.

Train

./pokemon_classifer.py --epoch_number 100

Inference

./pokemon_classifer.py --mode inference --image ./data/inference/Pikachu.png

Export model

./pokemon_classifer.py --epoch_number 0

Run TensorFlow serving

./tensorflow_model_server --port=9000 --model_name=deep_cnn --model_base_path=./model

Run gRPC client

./predict_client.py --host 127.0.0.1 --port 9000 --model_name deep_cnn --model_version 1

Notice that cloudml is not released now.

cloudml models predict -n deep_cnn -s 127.0.0.1:9000 -f ./data.json

About

Deep convolution/recurrent neural network project with TensorFlow

License:Apache License 2.0


Languages

Language:Python 44.8%Language:C++ 43.2%Language:Jupyter Notebook 6.2%Language:HTML 1.8%Language:TypeScript 1.5%Language:Shell 0.9%Language:CMake 0.3%Language:C 0.3%Language:Go 0.3%Language:Java 0.2%Language:Objective-C++ 0.2%Language:Makefile 0.1%Language:JavaScript 0.0%Language:Objective-C 0.0%Language:Dockerfile 0.0%Language:Batchfile 0.0%