Skip to content

Instantly share code, notes, and snippets.

View DongChen06's full-sized avatar

Dong Chen DongChen06

View GitHub Profile
@DongChen06
DongChen06 / client_cleanup.py
Created August 13, 2020 04:33
client script for the icon detector
from __future__ import print_function
import grpc
import tensorflow as tf
import cv2
import time
import numpy as np
import json
from tensorflow_serving.apis import predict_pb2
from tensorflow_serving.apis import prediction_service_pb2_grpc