Skip to content

mavaras/deep-image-compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lossy image compression using compressive autoencoders

Train

You can train a new custom model by executing the following command. You can provide any images dataset that you want. For now, dataset must contain 720x1280 images. This will probably be expanded in the future.

python3 src/train.py \
  --output-path trained_models \
  --dataset-path test.bmp \
  --log-freq 5 \
  --save-freq 15

Test

You can test a trained model by executing the following command.

trained_models should be that folder containing the model.

python3 src/test.py \
  --model-path trained_models \
  --image-path test.bmp

Results

Original Result
2.8 MB 1.2 MB
631 KB 21 KB
787 KB 38 KB

References

About

Lossy image compression using neural networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages