Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mjdietzx/SimGAN
Implementation of Apple's Learning from Simulated and Unsupervised Images through Adversarial Training
https://github.com/mjdietzx/SimGAN
deep-learning gan generative-adversarial-network keras machine-learning neural-networks simulated-unsupervised-learning simulations tensorflow
Last synced: 3 months ago
JSON representation
Implementation of Apple's Learning from Simulated and Unsupervised Images through Adversarial Training
- Host: GitHub
- URL: https://github.com/mjdietzx/SimGAN
- Owner: mjdietzx
- License: mit
- Created: 2017-01-30T18:48:57.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-13T03:03:02.000Z (over 7 years ago)
- Last Synced: 2024-07-19T03:05:08.671Z (4 months ago)
- Topics: deep-learning, gan, generative-adversarial-network, keras, machine-learning, neural-networks, simulated-unsupervised-learning, simulations, tensorflow
- Language: Python
- Size: 30.3 KB
- Stars: 411
- Watchers: 23
- Forks: 101
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimGAN
Keras implementation of Apple's [Learning from Simulated and Unsupervised Images through Adversarial Training](https://arxiv.org/pdf/1612.07828v1.pdf)## Running
Install dlutils from https://github.com/wayaai/deep-learning-utils:
> $ pip install -U git+https://github.com/wayaai/deep-learning-utils.git
or
> $ git clone https://github.com/wayaai/deep-learning-utils.git
> $ python setup.py install develop```python
python3 sim-gan.py PATH_TO_SYNTHESEYES_DATASET PATH_TO_MPII_GAZE_DATASET
```In apple's paper they use [Unity Eyes](http://www.cl.cam.ac.uk/research/rainbow/projects/unityeyes/) to generate ~1.2 million synthetic images. I am on mac though so I just used the easily available [SynthesEyes Dataset](https://www.cl.cam.ac.uk/research/rainbow/projects/syntheseyes/). This is small (only around ~11,000 images) so it would be much better if someone could generate a larger dataset w/ [Unity Eyes](http://www.cl.cam.ac.uk/research/rainbow/projects/unityeyes/) and share it on s3.
The dataset of real image's used in apple's paper is the [MPIIGaze Dataset](https://www.mpi-inf.mpg.de/departments/computer-vision-and-multimodal-computing/research/gaze-based-human-computer-interaction/appearance-based-gaze-estimation-in-the-wild-mpiigaze/). They use the normalized images provided in this dataset which are stored in matlab files. It was a bit of a pain to get these in an easily usable form so I'm sharing the ready to go datasets on s3.
## Ready to go datasets
* 50000 Unity Eyes: https://www.kaggle.com/4quant/eye-gaze## Details
Implementation of `3.1 Appearance-based Gaze Estimation` on UnityEyes and MPIIGaze datasets as described in paper.* Currently only Python 3 support.
* Tensorflow support and maybe PyTorch support in future.## Implementation
This is meant to be a light-weight and clean implementation that is easy to understand - no deep shit. It can also be used as a resource to understand GANs in general and how they can be implemented.## Running Online
You can see a interactive Jupyter Notebook version of this script with training data on [Kaggle](https://www.kaggle.com/kmader/d/4quant/eye-gaze/simgan-notebook/) or just the [raw training set](https://www.kaggle.com/4quant/eye-gaze)
## About waya.ai
Waya.ai is a company whose vision is a world where medical conditions are addressed early on, in their infancy. This approach will shift the health-care industry from a constant fire-fight against symptoms to a preventative approach where root causes are addressed and fixed. Our first step to make realize this vision is easy, accurate and available diagnosis. Please get in contact with me if this resonates with you!