pesser / edflow

Reduce boilerplate code for your ML projects. TensorFlow and PyTorch.
https://edflow.readthedocs.io/
MIT License
24 stars 13 forks source link

Jpeg backend for minimal logging #266

Closed theRealSuperMario closed 4 years ago

theRealSuperMario commented 4 years ago

I think it would be greate to add the option to log images in jpeg format to save space. This mostly concerns the hooks.minimal_logging_hook.LoggingHook class.

The simplest solution would be to pass the image format as an argument and add the an additional integrations field, such as

    integrations:
        minimal_logging:
            image_format: png # png or jpg. jpg saves a lot of space

If we keep the png format as default, nothing changes.