Real-ESRGAN icon indicating copy to clipboard operation
Real-ESRGAN copied to clipboard

Feature Request: Quieter Console Output for Tile Processing

Open Sj-Si opened this issue 1 year ago • 0 comments

https://github.com/xinntao/Real-ESRGAN/blob/5ca1078535923d485892caee7d7804380bfc87fd/realesrgan/utils.py#L157-L163

When running the tile_process function, the highlighted print statements make for very noisy console output. It would be nice if there were either a way of setting the verbosity of these messages or if each call to this function only produced a single output to the console. It would be even better yet if we didn't use print statements and instead used Python's logging module however that would require quite a few changes.

Personally, I would just remove the print statement entirely since it isn't exactly super important information for the end user and it falls more under a trace/debug type of logging statement.

Sj-Si avatar Dec 08 '23 21:12 Sj-Si