A PyTorch-based framework for deep-learning-based data compression research.
conda create -n compresslab python=3.9
conda activate compresslab
pip install -e .Run
python run.py --listto check all registered modules.
Run
python run.py --config config/your_config.yamlto train a model with the specified configuration file.
Run
tensorboard --logdir outputto monitor the training process.
download.py can be used to download and extract the datasets automatically. For example, to download the CLIC2020 Professional Validation dataset, run
python dataset/download.py --dataset CLIC2020_professional_valCurrent supported datasets:
- Vimeo90k
- CLIC2020
- DIV2K
- Tecnick
- UVG
- Kodak (Already included in the repository)
Run
python dataset/download.py --listto check all supported datasets.
- All models implemented in CompressAI:
- ChARM
- TCM
- MLIC