Predicting image class using CGAN_mnist_R example


Hi all.

I’m kind of new in this field (neural network and mxnet usage)
I have been testing the example in this link.
The code works perfectly and I’m able to generate new images using the inference part at the end of the code.

My problem here is how I can predict the image class (let say I take one of the image produced by the generator network) using this example.