Here comes the app building section of the chapter. When building this application, we are going to use fast style transfers on pre-trained models. We can also use customized models with adjustments to make the app work on the iOS platform.Â
The following are two examples on style transfer implementation that use TensorFlow: https://github.com/titu1994/Neural-Style-Transfer and https://github.com/yining1023/fast_style_transfer_in_ML5/.
As a consequence of this, we are going to make use of the TensorFlow-to-Core ML library 1.1.0+ in this tutorial. The GitHub link to this is as follows: https://github.com/tf-coreml/tf-coreml, and the dependencies are listed as follows:
- tensorflow >= 1.5.0
- coremltools >= 0.8
- numpy >= 1.6.2
- protobuf >= 3.1.0
- six >= 1.10.0
To get the latest version of the TensorFlow-to-Core MLÂ converter...