- 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.
推薦閱讀
- Learning SQL Server Reporting Services 2012
- Intel FPGA/CPLD設計(基礎篇)
- Cortex-M3 + μC/OS-II嵌入式系統開發入門與應用
- Applied Unsupervised Learning with R
- 計算機組裝與系統配置
- 深入淺出SSD:固態存儲核心技術、原理與實戰
- BeagleBone By Example
- 計算機應用與維護基礎教程
- CC2530單片機技術與應用
- 計算機組裝維修與外設配置(高等職業院校教改示范教材·計算機系列)
- 筆記本電腦使用、維護與故障排除從入門到精通(第5版)
- 面向對象分析與設計(第3版)(修訂版)
- Machine Learning Solutions
- 從企業級開發到云原生微服務:Spring Boot實戰
- 超炫的35個Arduino制作項目