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

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.

主站蜘蛛池模板: 石家庄市| 新龙县| 苍溪县| 乐都县| 靖远县| 清新县| 信宜市| 浪卡子县| 株洲市| 绥阳县| 甘谷县| 武冈市| 泸溪县| 无锡市| 武宁县| 皮山县| 苏尼特右旗| 乌拉特后旗| 永康市| 大同市| 花垣县| 吴江市| 静海县| 色达县| 天祝| 凌源市| 临潭县| 普格县| 卫辉市| 大连市| 临夏县| 吉水县| 芜湖市| 牡丹江市| 千阳县| 类乌齐县| 柘荣县| 石屏县| 工布江达县| 花莲县| 镇远县|