mirror of
https://github.com/ultralytics/yolov5.git
synced 2025-06-03 14:49:29 +08:00
Update hubconf.py attempt_load import (#4428)
This commit is contained in:
parent
19d03a955c
commit
dbc06ce292
@ -27,7 +27,8 @@ def _create(name, pretrained=True, channels=3, classes=80, autoshape=True, verbo
|
|||||||
"""
|
"""
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from models.yolo import Model, attempt_load
|
from models.yolo import Model
|
||||||
|
from models.experimental import attempt_load
|
||||||
from utils.general import check_requirements, set_logging
|
from utils.general import check_requirements, set_logging
|
||||||
from utils.downloads import attempt_download
|
from utils.downloads import attempt_download
|
||||||
from utils.torch_utils import select_device
|
from utils.torch_utils import select_device
|
||||||
|
Loading…
x
Reference in New Issue
Block a user