Closed kmkolasinski closed 5 years ago
Hi @kmkolasinski that looks about right. Just make sure you have the signs in the correct direction.
The planar CNF shown in the paper used a 1-hidden layer hypernet that takes in t, and outputs multiple weight, bias, and scale parameters. The gate mechanism was implemented by outputing the scale parameter as a multiplication between a regular output and a sigmoid output of the hypernet. See https://gist.github.com/rtqichen/91924063aa4cc95e7ef30b3a5491cc52.
Thanks a lot @rtqichen !
Hi, I'm trying to play with Neural ODEs and do some reimplementations in Tensorflow. I was able to implement basic solver which works with the spiral problem in your examples. However, I got stuck on CNF implementation :/
Here is my current version of planar flow implemented as a Keras Model:
This implementation has missing gating mechanism (some NN as explained in paper), which is not described in the paper. How was the gating mechanism implemented in your case ?
Secondly, please correct me if I understand the algorithm correctly. Once I will have correct implementation of Planar flow I have to create a combination of them (Eq. 10), like this:
And finally I want to maximize probability of energy function from Fig 4:
Is this approach correct? Thank you in advance !