Pelee model is now supported
Train Image classification on CIFAR10 using tensorflow and keras. Create a inference using opencv. OpenCV to read tensorflow graph.
python3 train.py
python3 optimize_for_inference.py --input model1.pb --output opt_model1.pb --input_names input_1 --output_names predictions/Softmax
python3 to_pbtxt.py
node { name: "flatten/Reshape" op: "Reshape" input: "block5_pool/MaxPool" input: "flatten/stack" }
by
node { name: "flatten/Reshape" op: "Flatten" input: "block5_pool/MaxPool" }
python3 test.py