You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here I'm still confused, for the model, inputs are values between [-1, 1]. And function sample_from_discretized_mix_logistic output in [-1, 1] which means model output value is in the same range as inputs. Why should model need knowledge about original data scale (unscaled data)?
I agree with @blues-lin; the expression should be +/-0.5 / 255. Shifting and changing the scale of the input doesn't change the number of discretized buckets. The probability of x should be computed with a bucket width of 1 centered around x, i.e. x +/-0.5 / (buckets-1).
I agree with @blues-lin; the expression should be +/-0.5 / 255. Shifting and changing the scale of the input doesn't change the number of discretized buckets. The probability of x should be computed with a bucket width of 1 centered around x, i.e. x +/-0.5 / (buckets-1).
width of +/-0.5 / 255 is 1/255, and there will be 2/(1/256)=512 buckets, which is 256 in paper.
In file nn.py:
Could anybody help me out explain why here is + 1./255. not 0.5 as paper equation (2) ?
The text was updated successfully, but these errors were encountered: