Instructions to use keras-io/real_nvp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use keras-io/real_nvp with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("keras-io/real_nvp") - Notebooks
- Google Colab
- Kaggle
Download latent_dist.png from keras-io/real_nvp: direct link, hf CLI and curl.
- Browser
- Download file 20 kB
-
https://huggingface.co/keras-io/real_nvp/resolve/main/latent_dist.png
- Command line
-
hf download hf://keras-io/real_nvp/latent_dist.png
-
curl -L -o latent_dist.png https://huggingface.co/keras-io/real_nvp/resolve/main/latent_dist.png
20 kB
