第一次调试

This commit is contained in:
552068321@qq.com
2022-11-07 14:34:35 +08:00
parent 6f7de660aa
commit 41ba5d9f44
23 changed files with 2023 additions and 152 deletions

View File

@ -28,12 +28,12 @@ def _create(name, pretrained=True, channels=3, classes=80, autoshape=True, verbo
"""
from pathlib import Path
from models.common import AutoShape, DetectMultiBackend
from models.experimental import attempt_load
from models.yolo import ClassificationModel, DetectionModel
from utils.downloads import attempt_download
from utils.general import LOGGER, check_requirements, intersect_dicts, logging
from utils.torch_utils import select_device
from app.yolov5.models.common import AutoShape, DetectMultiBackend
from app.yolov5.models.experimental import attempt_load
from app.yolov5.models.yolo import ClassificationModel, DetectionModel
from app.yolov5.utils.downloads import attempt_download
from app.yolov5.utils.general import LOGGER, check_requirements, intersect_dicts, logging
from app.yolov5.utils.torch_utils import select_device
if not verbose:
LOGGER.setLevel(logging.WARNING)