- Learning Microsoft Cognitive Services
- Leif Larsen
- 136字
- 2021-08-13 15:40:22
Using the trained model
Once you are happy with the model, you can use it for predictions. The model can be used in one of the two following ways:
- With a REST API
- Export it to a model file
The first choice involves uploading an image. Calling the generated endpoint for your model, along with the image data, will result in a prediction. The result will contain the predicted tags, ordered by their probability.
The second choice allows you to run the prediction offline. This means that you can utilize different frameworks, such as TensorFlow, CoreML, and ONNX, for different platforms. How to use the model with these frameworks is beyond the scope of this book. The downside of using an offline model is that the accuracy may suffer a bit compared to the online version.
推薦閱讀
- 深入理解Spring Cloud與實戰
- The Applied AI and Natural Language Processing Workshop
- AMD FPGA設計優化寶典:面向Vivado/SystemVerilog
- Learning Game Physics with Bullet Physics and OpenGL
- VCD、DVD原理與維修
- 單片機系統設計與開發教程
- Intel Edison智能硬件開發指南:基于Yocto Project
- 微型計算機系統原理及應用:國產龍芯處理器的軟件和硬件集成(基礎篇)
- Java Deep Learning Cookbook
- Spring Cloud實戰
- Istio實戰指南
- Deep Learning with Keras
- Learning Microsoft Cognitive Services
- Arduino+3D打印創新電子制作2
- 數據恢復與硬盤修理