probability
probability copied to clipboard
Probabilistic reasoning and statistical analysis in TensorFlow
Generalized gamma distribution addressing #1081 Uses wikipedia parameterization: https://en.wikipedia.org/wiki/Generalized_gamma_distribution
Hello, I am using: - TFP Version 0.16.0 - TF Version 2.8.1 I am training a [simple model on a density estimation task](https://github.com/MArpogaus/TensorFlow-Probability-Bernstein-Polynomial-Bijector/blob/ca828edd0c53ee96ba457d2f32b00399818e35a0/cml/old_faithful.py). When using a [`DistributionLambda`](https://www.tensorflow.org/probability/api_docs/python/tfp/layers/DistributionLambda) in conjunction with...
There is a problem in PixelCNN implementation: it does not work if the image shape has an odd number of "pixels", for example (7,7) or (9,9).
Hello, this code: ```python def create_look_ahead_mask(size_0): mask = np.ones((size_0, size_0), dtype=np.int32) for a in range(size_0): # Timestep for c in range(size_0): # Timestep if c > a: mask[a, c] =...
I am working on a VAE with a Gaussian decoder using tensorflow probability. I calculate the log likelihood using ```x_hat.log_prob(x)``` where ```x_hat``` is the output of the decoder (```tfp.distributions.Distribution```). However,...
When saving a keras model that incorporates a `DistributionLambda` layer from `tfp.layers`, I receive a stack trace ending in the following (complete stack trace at end of post). I observe...
Consider the following scenario (shamelessly copied from TFP tutorial) ``` import numpy as np import tensorflow as tf import tensorflow_probability as tfp np.random.seed(12345) @tf.function def quadratic(minimum, x): with tf.GradientTape() as...
When instantiating many 2-dimensional GPs with exponentiated quadratic kernels and sampling over several thousand points, I'm getting memory errors: `ResourceExhaustedError: failed to allocate memory [Op:Mul]` I am able to produce...
Just wondering if it can support discriminative model like conditional random fields and if I can build flexible and user-defined graph structure with this tool?
When trying to save a keras model with a a `tfp.layers.MixtureLogistic` layer, the following error occurs: ```python WARNING:tensorflow:Compiled the loaded model, but the compiled metrics have yet to be built....