Style transfer on Android with CycleGAN in TensorFlow, applying remote inference on a php server using vanhuyz's implementation.
My pretrained models: Monet, Cezanne, Ukyo-e, Vangogh.
Checkpoints: Monet, Cezanne, Ukyo-e, Vangogh.
- TensorFlow 1.0.0
- Python 3.6.0
- Android Studio
- MAMP
Currently it is not possible to import the .pb model directly into Android, nor convert it to .tflite because Tensorflow Mobile doesn't support the map_fn node yet.
Unsupported TensorFlow Lite Ops:
- NonMaxSuppressionV2
- TensorArrayGatherV3
- TensorArrayReadV3
- TensorArrayScatterV3
- TensorArraySizeV3
- TensorArrayV3
- TensorArrayWriteV3
- CycleGAN implementation: https://github.com/vanhuyz/CycleGAN-TensorFlow
- CycleGAN paper: https://arxiv.org/abs/1703.10593