Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zydjohnHotmail opened this issue Apr 5, 2022 · 0 comments
Open

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

zydjohnHotmail opened this issue Apr 5, 2022 · 0 comments

Comments

@zydjohnHotmail
Copy link

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant