All Projects β†’ margaretmz β†’ Selfie2Anime-with-TFLite

margaretmz / Selfie2Anime-with-TFLite

Licence: MIT license
How to create Selfie2Anime from tflite model to Android.

Programming Languages

Jupyter Notebook
11667 projects

Projects that are alternatives of or similar to Selfie2Anime-with-TFLite

glDelegateBenchmark
quick and dirty benchmark for TFLite gles delegate on iOS
Stars: ✭ 13 (-81.43%)
Mutual labels:  tensorflow-lite, tflite
Tensorflow-lite-kotlin-samples
πŸ“ŒThis repo contains the kotlin implementation of TensorflowLite Example Android AppsπŸš€
Stars: ✭ 17 (-75.71%)
Mutual labels:  tensorflow-lite, tflite
E2E-tfKeras-TFLite-Android
End to end training MNIST image classifier with tf.Keras, convert to TFLite and deploy to Android
Stars: ✭ 17 (-75.71%)
Mutual labels:  tensorflow-lite, tflite
android tflite
GPU Accelerated TensorFlow Lite applications on Android NDK. Higher accuracy face detection, Age and gender estimation, Human pose estimation, Artistic style transfer
Stars: ✭ 105 (+50%)
Mutual labels:  tensorflow-lite, tflite
TFLite-Mobile-Generic-Object-Localizer
Python TFLite scripts for detecting objects of any class in an image without knowing their label.
Stars: ✭ 42 (-40%)
Mutual labels:  tensorflow-lite, tflite
glDelegateBench
quick and dirty inference time benchmark for TFLite gles delegate
Stars: ✭ 17 (-75.71%)
Mutual labels:  tensorflow-lite, tflite
gan-vae-pretrained-pytorch
Pretrained GANs + VAEs + classifiers for MNIST/CIFAR in pytorch.
Stars: ✭ 134 (+91.43%)
Mutual labels:  gans
CRNN.tf2
Convolutional Recurrent Neural Network(CRNN) for End-to-End Text Recognition - TensorFlow 2
Stars: ✭ 131 (+87.14%)
Mutual labels:  tensorflow-lite
deep-learning-roadmap
my own deep learning mastery roadmap
Stars: ✭ 40 (-42.86%)
Mutual labels:  gans
simsg
Semantic Image Manipulation using Scene Graphs (CVPR 2020)
Stars: ✭ 49 (-30%)
Mutual labels:  gans
Progressive-Growing-Of-GANs-Pytorch-
Progressively growing of GANs Pytorch Implementation
Stars: ✭ 14 (-80%)
Mutual labels:  gans
PPOGAN
No description or website provided.
Stars: ✭ 23 (-67.14%)
Mutual labels:  gans
tensorflow-vast
TensorFlow binding library for VA Smalltalk
Stars: ✭ 13 (-81.43%)
Mutual labels:  tensorflow-lite
Feature-Generating-Networks
Zero Shot Learning with Feature Generating Networks
Stars: ✭ 31 (-55.71%)
Mutual labels:  gans
AgroDocRevamp
Agro Doc is basically an app that will help farmers easily pinpoint their crop diseases using their smartphones. The app uses a pre trained tensorflow model to identify issues and then suggest possible cures for the crop infections/diseases. #AndroidDevChallenge
Stars: ✭ 21 (-70%)
Mutual labels:  tensorflow-lite
rpi-urban-mobility-tracker
The easiest way to count pedestrians, cyclists, and vehicles on edge computing devices or live video feeds.
Stars: ✭ 75 (+7.14%)
Mutual labels:  tensorflow-lite
Face-Recognition-Flutter
Realtime face recognition with Flutter
Stars: ✭ 111 (+58.57%)
Mutual labels:  tensorflow-lite
coral-pi-rest-server
Perform inferencing of tensorflow-lite models on an RPi with acceleration from Coral USB stick
Stars: ✭ 49 (-30%)
Mutual labels:  tensorflow-lite
TensorFlow Lite SSD RPi 64-bits
TensorFlow Lite SSD on bare Raspberry Pi 4 with 64-bit OS at 24 FPS
Stars: ✭ 25 (-64.29%)
Mutual labels:  tensorflow-lite
SieNet-Image-extrapolation
SiENet: Siamese Expansion Network for Image Extrapolation(IEEE SPL2020)
Stars: ✭ 42 (-40%)
Mutual labels:  gans

Selfie2Anime with TensorFlow Lite

This is the GitHub repo for an end-to-end tutorial from TFLite model conversion, to model deployment on an Android App. Links to the three-part tutorial on Medium:

Selfie2Anime with TensorFlow Lite is one of the many End-to-End TensorFlow Lite Tutorials. See the full list of TensorFlow Lite samples and learning resources on awesome-tflite.

Authors: (ML GDEs: Google Developer Experts for Machine Learning) Margaret Maynard-Reid and Sayak Paul
Reviewers: (Google TensorFlow team) Khanh LeViet and Hoi Lam



This repository is structured in the following way:

|--ml  
|  |--add-meta-data-Colab             // How to add metadata via Colab  
|  |--add-meta-data-CLI               // How to add metadata via command line  
|  |--Selfie2Anime_Model_Conversion   // How to convert and save to TFLite model  
|--android  
|  |--selfie2anime                    // TFLite model on Androi app  

The ml folder contains the model files, and the instructions on how to save the model, and convert it to selfe2anime.tflite, and add metadata to it via either command line or a Colab notebook.

The android folder contains the Android source code and the instructions on how to build the Android app.

The Selfie2Anime model

We used a Generative Adversarial Network (GAN) model proposed in this paper Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation (also known as U-GAT-IT). The paper provides two generators: one that converts a selfie to anime-style image and the other one from anime to selfie. Here we only implemented the Selfie2Anime model since it better resembles the real-world scenario. The GitHub repository of the paper is available here.

Citation

The original authors of U-GAT-IT: Junho Kim, Minjae Kim, Hyeonwoo Kang, Kwanghee Lee.

@inproceedings{
Kim2020U-GAT-IT:,
title={U-GAT-IT: Unsupervised Generative Attentional Networks with Adaptive Layer-Instance Normalization for Image-to-Image Translation},
author={Junho Kim and Minjae Kim and Hyeonwoo Kang and Kwang Hee Lee},
booktitle={International Conference on Learning Representations},
year={2020},
url={https://openreview.net/forum?id=BJlZ5ySKPH}
} 

Acknowledgement

We would like to thank Khanh LeViet and Lu Wang (TensorFlow Lite team), Hoi Lam (Android ML), and Soonson Kwon (ML GDEs Google Developer Expert Program), for their collaboration and continuous support.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].