- Get link
- Other Apps
In the previous tutorial, i have done the train tensor model for image classification . Here, let start to convert Tensor protobuf (.pb) to lite file. This lite file is important that allows you to port this file to use on Mobile or Embedded devices. For me, convert Tensor protobuf (.pb) to lite file not as easier as a lot of tried with different converter tools and environments such as codelab, Linux, bazel etc. A lot of problems met before such as failed to compile Toco script, Android App will be crash once run with compiled lite lib. Anyway, finally, I have succeeded to convert Tensor protobuf (.pb) to lite file and able run properly on Android phones. Environment: Asus Rog Laptop Strix G running Windows 10 Home 1. Create folder, e.g: TensorTrain_heng 2. Download Python Script below and put inside this folder, "TensorTrain_heng" i) google_images_download.py : Link ii) retrain.py: refer the previous tutorial 2. Open command prompt inside this fo