https://github.com/eidoslab/vectorcompression
https://github.com/eidoslab/vectorcompression
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eidoslab/vectorcompression
- Owner: EIDOSLAB
- License: mit
- Created: 2025-02-25T10:46:54.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-02-25T17:46:38.000Z (11 months ago)
- Last Synced: 2025-02-25T18:39:31.283Z (11 months ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Env
```
conda env create -f env.yml
```
```
conda activate vect_compress
```
# train_vq.py
```
python train_vq.py --save-dir test-vq --vq-alpha 2.5 --codebook-size 512
```
# train_compai.py
```
python train_compai.py --save-dir test-compai --lambda 1e-2
```
## edit model
check on models/autoencoder.py and edit the function: `get_encoder_decoder`