diff --git a/src/super_gradients/common/abstractions/mute_processes.py b/src/super_gradients/common/abstractions/mute_processes.py index 5d8694b702..3d34745c95 100644 --- a/src/super_gradients/common/abstractions/mute_processes.py +++ b/src/super_gradients/common/abstractions/mute_processes.py @@ -27,7 +27,7 @@ def mute_current_process(): # Ignore prints import sys - sys.stdout = open(os.devnull, "w") + sys.stdout = open(os.devnull, "w", encoding="utf-8") # Only show ERRORS process_loggers = [logging.getLogger(name) for name in logging.root.manager.loggerDict]