machinelearning icon indicating copy to clipboard operation
machinelearning copied to clipboard

[Planning] Explore GAN (Generative Adversarial Networks) implementation in ML.NET + TensorFlow

Open CESARDELATORRE opened this issue 7 years ago • 2 comments

For future features planning it'd be worth to explore possibilities in ML.NET enabling GAN (Generative Adversarial Networks) implementation in ML.NET + TensorFlow.

Most popular use cases are related to images generation, such as this cool prototype app:

https://github.com/microsoft/GenStudio https://gen.studio/

However, GAN can also be applied to data and very interesting cases are related to synthetic data generation from a generative adversarial network (GAN) designed to approximate any original training data distribution. For instance, you have a Time Series dataset of just a couple of years and want to generate a larger synthetic dataset, or any other synthetic data generation.

Many more use cases: https://github.com/nashory/gans-awesome-applications

Question for anyone in the community reading this issue, can you answer this issue with your thoughts about GAN (Generative Adversarial Networks), your own business scenarios and possibilities you might see in ML.NET?

CESARDELATORRE avatar Oct 16 '19 23:10 CESARDELATORRE

Although I don't have an in-production business case, I can tell you the experience I had with GAN. I currently work for a food delivery company. Well, during the last Hackaton, I used GAN to build a prototype to re-create images of food. The technologies we used involved Python, TensorFlow, and the TPUs capabilities provided by GCP, something similar to this concept: http://pizzagan.csail.mit.edu/, and this algo. From a .NET Engineer view, It would be great to have the same possibilities using familiar languages like F# (or C#). I haven't an idea about the effort to enables this kind of capability in ML.NET If I remember well the framework relies on TensorFlow.NET, Does it exposes all the Tensorflow APIs that enable GANs? Finally, I'm happy to help with this issue in case you consider to proceed with the enhancement 👍

samueleresca avatar Jan 14 '20 22:01 samueleresca

The other use case I can see for this is in game development for upscaling of textures using a production server. It would be nice to use with onnx with ml.net to take existing models like esrgan or waifu 2x.

JohnnySixStrings avatar Nov 18 '20 05:11 JohnnySixStrings