pronobis / libspn-keras

Library for learning and inference with Sum-product Networks utilizing TensorFlow 2.x and Keras
Other
47 stars 9 forks source link

Generator Example #28

Closed S1mmy closed 3 years ago

S1mmy commented 3 years ago

I would like to see an example to generate images, like it was a GAN.

For example for MNIST.

jostosh commented 3 years ago

Hi S1mmy, thanks for the suggestion! I will try to prepare one in the next few days.

S1mmy commented 3 years ago

Hey Jostosh, thank you, for your fast answer!

Tomorrow i have to hold a little presentation, would it be possible to send me some code, so i can generate some images? 😅

Thanks for your support!

jostosh commented 3 years ago

Sampling wasn't yet properly supported by the library. I'm almost there, but cannot promise anything yet. If it is of any help, the paper on Einsum Networks (which are just SPNs) shows some images of samples drawn from an SPN.

I cannot yet also claim anything about the quality of the samples, they might not be as impressive as what you expect from a GAN.

S1mmy commented 3 years ago

Okay, thank you very much for your support! That helps a lot.

Then I'll wait, till you updated the library and check it out! 😊

jostosh commented 3 years ago

Just released v0.6.0 of the library that includes everything needed for this example on sampling.