OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Vq Vae

Vq Vae is a Python/PyTorch implementation of vector-quantized and convolutional variational autoencoders, with command-line examples for training on image datasets and inspecting reconstructions.

Independent OpenViST project profile, based on linked sources.

Vq Vae — Hands-on image reconstruction experiments using the documented datasets
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you want a local Python/PyTorch code example for image-model training and reconstruction, and can work with the older dependency versions listed in the README.

Who it is for

  • Developers studying or adapting compact VQ-VAE and convolutional VAE implementations.
  • Researchers and practitioners running image reconstruction experiments on datasets such as MNIST and CIFAR-10.

Documented uses

  • Train a VQ-VAE or convolutional VAE on image data.
  • Compare test images with their reconstructed outputs.
  • Use the implementation as a reference for vector-quantized latent representations.
Before you choose

Requirements & limits

The repository is public and licensed under BSD-3-Clause. The documented workflow runs from the command line and requires a local Python and PyTorch environment.

  • The README specifies Python 3.6 and PyTorch 0.4, with additional dependencies in requirements.txt.
  • The example command selects CIFAR-10, the VQ-VAE model, a data directory and an epoch count.
  • PixelCNN-prior sampling and several proposed CIFAR improvements appear as TODOs, not listed completed features.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install requirements and start the CIFAR-10 example

Set up the repository's documented dependencies and invoke its CIFAR-10 VQ-VAE training example.

Before you start

  • Python 3.6; the README says Python 3.5 may also work.
  • PyTorch 0.4.
  • Additional packages listed in requirements.txt.

Steps

  1. Install the listed dependencies with pip install -r requirements.txt.

  2. Run python3 main.py --dataset=cifar10 --model=vqvae --data-dir=~/.datasets --epochs=3.

Expected outcome

The documented command starts the CIFAR-10 VQ-VAE example; the README presents test-set originals and reconstructions as results.

Guide limitations

  • The README documents the invocation but does not specify all output or data-download behavior.
  • Its stated Python and PyTorch versions are Python 3.6 and PyTorch 0.4.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
10 November 2026
Original website title
nadavbh12/VQ-VAE · Official homepage title · retained in its source language