Set TORCH_CPP_LOG_LEVEL=ERROR for reduced verbosity (#12989)

* modify torch cpp log level to Error to avoid annoying print

* Auto-format by https://ultralytics.com/actions

---------

Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
inisisandUltralyticsAssistant authored and GitHub committed 2024-05-12 17:10:18 +02:00
1 parent 920c721ea7
commit 2f6b91ee8c
1 file changed
+2
+2
View File
@@ -48,6 +48,8 @@ import argparse
import contextlib
import json
import os
os.environ["TORCH_CPP_LOG_LEVEL"] = "ERROR"
import platform
import re
import subprocess