Instructions to use keras-io/vq-vae with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use keras-io/vq-vae 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/vq-vae") - Notebooks
- Google Colab
- Kaggle
Download discrete_code.png from keras-io/vq-vae: direct link, hf CLI and curl.
- Browser
- Download file 18.3 kB
-
https://huggingface.co/keras-io/vq-vae/resolve/main/discrete_code.png
- Command line
-
hf download hf://keras-io/vq-vae/discrete_code.png
-
curl -L -o discrete_code.png https://huggingface.co/keras-io/vq-vae/resolve/main/discrete_code.png
18.3 kB
