Skip to content

Style transfer on Android with CycleGAN, applying remote inference on a php server

License

Notifications You must be signed in to change notification settings

sickmz/CycleGAN-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CycleGAN-android

Style transfer on Android with CycleGAN in TensorFlow, applying remote inference on a php server using vanhuyz's implementation.

Pretrained models

My pretrained models: Monet, Cezanne, Ukyo-e, Vangogh.

Checkpoints: Monet, Cezanne, Ukyo-e, Vangogh.

Environment

  • 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:

  1. NonMaxSuppressionV2
  2. TensorArrayGatherV3
  3. TensorArrayReadV3
  4. TensorArrayScatterV3
  5. TensorArraySizeV3
  6. TensorArrayV3
  7. TensorArrayWriteV3

Result

alt text

Reference

About

Style transfer on Android with CycleGAN, applying remote inference on a php server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages