Skip to content

Commit

Permalink
Update hubconf.py attempt_load import (ultralytics#4428)
Browse files Browse the repository at this point in the history
  • Loading branch information
OmidSa75 authored and CesarBazanAV committed Sep 29, 2021
1 parent c1fd77d commit a1b52d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hubconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def _create(name, pretrained=True, channels=3, classes=80, autoshape=True, verbo
"""
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.downloads import attempt_download
from utils.torch_utils import select_device
Expand Down

0 comments on commit a1b52d5

Please sign in to comment.