TLDRocket
Sign in

Tools & Coding

975 summarised stories in Tools & Coding, each linking back to the original source. Browse all topics →

Monday, 25 July 2022

Deploying TensorFlow Vision Models in Hugging Face with TF Serving

Hugging Face 4 years ago 46

Hugging Face and external contributors added multiple vision models in TensorFlow to the Transformers library, including Vision Transformer, Masked Autoencoders, RegNet, and ConvNeXt. The article demonstrates deploying a Vision Transformer model locally using TensorFlow Serving by embedding preprocessing and postprocessing operations into the model's computation graph, then exposing it via REST and gRPC endpoints on ports 8501 and 8500 respectively. This approach reduces training-serving skew by baking image normalization, resizing, and label mapping directly into the model before deployment.

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.