Skip to content

Instantly share code, notes, and snippets.

Zacharias Böhler ZachisGit

Block or report user

Report or block ZachisGit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ZachisGit /
Last active May 30, 2019
Make your model Tensorflow Serving compatible and modify it to accept png encoded images as input and return png encoded images as output.
''' - TF-Serving
# Basically we are wrapping your pretrained model
# in a tensorflow serving compatible format.
# This excepts base64 encoded png images and uses
# them as input to your model. Then we convert
# your models output into a png encoded image and
# it gets returned by tensorflow serving base64 encoded.
import tensorflow as tf
You can’t perform that action at this time.