官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 福贡县| 陕西省| 普安县| 贵定县| 交口县| 肃南| 东海县| 易门县| 梧州市| 边坝县| 车致| 秦皇岛市| 中牟县| 剑河县| 灵石县| 延庆县| 锡林浩特市| 京山县| 黔西县| 额敏县| 威宁| 根河市| 辽宁省| 五大连池市| 珲春市| 安平县| 双辽市| 平武县| 丘北县| 芜湖县| 肇东市| 宣汉县| 调兵山市| 通州区| 蒙城县| 哈巴河县| 江永县| 高平市| 汉川市| 灵寿县| 鹤庆县|