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

Trying to implement RGAN in MXNet Gluon #28

Open
Wallart opened this issue Apr 10, 2019 · 0 comments
Open

Trying to implement RGAN in MXNet Gluon #28

Wallart opened this issue Apr 10, 2019 · 0 comments

Comments

@Wallart
Copy link

Wallart commented Apr 10, 2019

Hello everybody,
I am currently trying to convert RGAN to MXNet Gluon.
But I still cannot reproduce the results. So I think there are some issues in my code.

Some parts of the Tensorflow code are still confusing for me. It would be very helpful if you can answer some of my questions.

In the generator line 278 we have :
logits_2d = tf.matmul(rnn_outputs_2d, W_out_G) + b_out_G
and in the discriminator line 317 we have :
logits = tf.einsum('ijk,km', rnn_outputs, W_out_D) + b_out_D

I understand that you are doing a weighted sum and reducing dimensions, but what is the difference between matmul and einsum in this case ?
Are W_out/b_out static tensors ? Or are they evolving during the training phase ?
Can we replace these operations by Dense/Linear layers, they are able to reduce dims after all

Thank you

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