super-gradients icon indicating copy to clipboard operation
super-gradients copied to clipboard

How can i solve this warning that appear during inference

Open Mohamed2519 opened this issue 1 year ago • 2 comments

these warnings appear during inference. How can I solve it? Screenshot 2023-05-10 162106

Mohamed2519 avatar May 10 '23 13:05 Mohamed2519

Hi @Mohamed2519

You can set the environment variable CONSOLE_LOG_LEVEL to control it.

import os

os.environ["CONSOLE_LOG_LEVEL"] = "ERROR"

from super_gradients.common.object_names import Models
from super_gradients.training import models

# Note that currently only YoloX, PPYoloE and YOLO-NAS are supported.
model = models.get(Models.YOLO_NAS_L, pretrained_weights="coco")

Louis-Dupont avatar May 11 '23 17:05 Louis-Dupont