-
Looking at the [contributing](https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md) guide and I'm currently here 🙂
![image](https://user-images.githubusercontent.com/8339018/31792467-2e1…
-
Hi,
In the code, logistic distribution sampling is done by:
```python
# sample mixture indicator from softmax
sel = tf.one_hot(tf.argmax(logit_probs - tf.log(-tf.log(tf.random_uniform(
…
-
https://github.com/openai/baselines/blob/4993286230ac92ead39a66005b7042b56b8598b0/baselines/common/distributions.py#L155
On this line above, it takes log twice on u. Why is that the case? I thought…
-
def sample(logits):
noise = tf.random_uniform(tf.shape(logits))
return tf.argmax(logits - tf.log(-tf.log(noise)), 1)
I am not reporting this as bug. I would like to know a particular reas…
-
dear authors, thanks for this package. I am wondering if Markov random field can be implemented using zhusuan, is so, do you have a tutorial for me to go through? thank you.
-
`out = tf.contrib.distributions.RelaxedOneHotCategorical(0.1,probs=out)`
-
Hey TF,
Is there some sort of multinomial function that can handle batches? When generating content, it is incredibly useful to introduce variance by 'rolling a dice'. I searched extensively in the d…
-
I'm using Gumbel-Softmax trick, that is I need to compute:
`softmax(-log(-log(uniform(0, 1))))`
In Tenserflow,
running `tf.nn.softmax(-tf.log(-tf.log(tf.uniform(...))))` is fine.
But in Pytorch,
…
-
Hi,
I've been trying to add Gumbel noise as in [here](https://github.com/Kaixhin/Autoencoders/blob/master/models/CatVAE.lua#L24), but no success.
Looks like several modules are still missing (e.g.…
-
Hi, I use TensorFlow 1.1.0 without gpu in mac osx 10.12.3 to test
`gumbel_softmax_vae_v2.ipynb`
I use ipython to run the code line by line, the error occurs in defining `logits_y`.
Hard to find i…