ritheshkumar95/pytorch-vqvae
ritheshkumar95/pytorch-vqvae has 955 GitHub stars and 140 forks. Star changes are not measured yet. Last checked 2026-11-14 08:38 UTC. Last push 2023-07-12.
Gemessener Sternzuwachs
- in 24h
- Verlauf wird gesammelt
- in 7 days
- Verlauf wird gesammelt
- in 15 days
- Verlauf wird gesammelt
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
Über uns
Vector Quantized VAEs - PyTorch Implementation
Maschinelles LernenREADME.md
OriginalReproducing Neural Discrete Representation Learning
Course Project for IFT 6135 - Representation Learning
Project Report link: final_project.pdf
Instructions
- To train the VQVAE with default arguments as discussed in the report, execute:
python vqvae.py --data-folder /tmp/miniimagenet --output-folder models/vqvae
- To train the PixelCNN prior on the latents, execute:
python pixelcnn_prior.py --data-folder /tmp/miniimagenet --model models/vqvae --output-folder models/pixelcnn_prior
Datasets Tested
Image
- MNIST
- FashionMNIST
- CIFAR10
- Mini-ImageNet
Video
- Atari 2600 - Boxing (OpenAI Gym) code
Reconstructions from VQ-VAE
Top 4 rows are Original Images. Bottom 4 rows are Reconstructions.
MNIST

Fashion MNIST

Class-conditional samples from VQVAE with PixelCNN prior on the latents
MNIST

Fashion MNIST

Comments
- We noticed that implementing our own VectorQuantization PyTorch function speeded-up training of VQ-VAE by nearly 3x. The slower, but simpler code is in this commit.
- We added some basic tests for the vector quantization functions (based on
pytest). To run these tests
py.test . -vv
Authors
- Rithesh Kumar
- Tristan Deleu
- Evan Racah
Ähnliche Projekte entdecken
tensorflow/tensorflow
Ein Open-Source-Framework für maschinelles Lernen für alle
201,592 Sternehuggingface/transformers
🤗 Transformers: das Framework zur Modelldefinition für State-of-the-Art-Modelle des maschinellen Lernens in Text, Vision, Audio und multimodal, für Inferenz und Training.
168,958 SterneAUTOMATIC1111/stable-diffusion-webui
Web-UI für Stable Diffusion
165,309 SterneComfy-Org/ComfyUI
Die leistungsstärkste und modularste GUI, API und das Backend für Diffusionsmodelle mit einer Oberfläche aus Graphen und Knoten. Die schnellste lokale Inferenz-Engine der Welt.
146,741 Sterne