This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' ExportModel.py - 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir openpubsub | |
cd openpubsub | |
curl -s -L https://raw.githubusercontent.com/ZachisGit/OpenPubSub/main/setup.sh -H 'Cache-Control: no-cache, no-store' | sh |