Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pavlo Beylin
MaD Patch Yolov5
Commits
dbc06ce2
Unverified
Commit
dbc06ce2
authored
Aug 16, 2021
by
Omid Sadeghnezhad
Committed by
GitHub
Aug 16, 2021
Browse files
Update hubconf.py attempt_load import (#4428)
parent
19d03a95
Changes
1
Hide whitespace changes
Inline
Side-by-side
hubconf.py
View file @
dbc06ce2
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment