emgucv / emgutf

Emgu TF is a cross platform .Net wrapper for the Google Tensorflow library. Allows Tensorflow functions to be called from .NET compatible languages such as C#, VB, VC++, IronPython.
https://www.emgu.com/wiki/index.php/Emgu_TF
Other
214 stars 43 forks source link

How I can generate some images using the repo? #73

Open zydjohnHotmail opened 2 years ago

zydjohnHotmail commented 2 years ago

Hello: I found a pre-trained model from this URL: https://tfhub.dev/google/progan-128/1

And the web page says that I can use the model to generate image like this:

Generate 20 random samples.

generate = hub.Module("https://tfhub.dev/google/progan-128/1") images = generate(tf.random_normal([20, 512])) Let me know if there is any C# code example that I can do this? Thanks,