ultralytics 8.0.186 add Open Images V7 models (#5070)
This commit is contained in:
parent
a9033118cf
commit
eb976f5ad2
10 changed files with 152 additions and 96 deletions
|
|
@ -1,23 +1,17 @@
|
|||
# Ultralytics YOLO 🚀, AGPL-3.0 license
|
||||
|
||||
from ultralytics.utils import LOGGER, SETTINGS, TESTS_RUNNING
|
||||
from ultralytics.utils import LOGGER, SETTINGS, TESTS_RUNNING, checks
|
||||
|
||||
try:
|
||||
assert not TESTS_RUNNING # do not log pytest
|
||||
assert SETTINGS['dvc'] is True # verify integration is enabled
|
||||
import dvclive
|
||||
|
||||
assert hasattr(dvclive, '__version__') # verify package is not directory
|
||||
assert checks.check_version('dvclive', '2.11.0', verbose=True)
|
||||
|
||||
import os
|
||||
import re
|
||||
from pathlib import Path
|
||||
|
||||
from ultralytics.utils.checks import check_version
|
||||
|
||||
if not check_version(dvclive.__version__, '2.11.0', name='dvclive', verbose=True):
|
||||
dvclive = None
|
||||
|
||||
# DVCLive logger instance
|
||||
live = None
|
||||
_processed_plots = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue