enhancing-transformers
An unofficial implementation of both ViT-VQGAN and RQ-VAE in Pytorch
File Explorer
Download Latest Version (.zip)- imagenet.txt
- lsun.txt
- arial.ttf
- bpe_simple_vocab_16e6.txt
- imagenet_gpt_vitvq_base.yaml
- imagenet_vitvq_base.yaml
- imagenet_vitvq_large.yaml
- imagenet_vitvq_small.yaml
- __init__.py
- cc3m.py
- classimage.py
- coco.py
- imagenet.py
- inatural.py
- lsun.py
- srimage.py
- textimage.py
- __init__.py
- conv2d_gradfix.py
- fused_act.py
- fused_bias_act.cpp
- fused_bias_act_kernel.cu
- upfirdn2d.cpp
- upfirdn2d.py
- upfirdn2d_kernel.cu
- layers.py
- segmentation.py
- vqperceptual.py
- clipcond.py
- dummycond.py
- vqcond.py
- layers.py
- quantizers.py
- vitvqgan.py
- layers.py
- transformer.py
- callback.py
- general.py
- scheduler.py
- tokenizer.py
- __init__.py
- .gitattributes
- .gitignore
- environment.yaml
- LICENSE
- main.py
- README.md
- requirements.txt
# Installation Guide
1. Get the code
git clone https://github.com/thuanz123/enhancing-transformers
Downloads the entire project code from GitHub to your computer.
cd enhancing-transformers
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python main.py
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
