ultralytics 8.0.47
Docker and reformat updates (#1153)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@ -154,11 +154,12 @@ class Traces:
|
||||
'python': platform.python_version(),
|
||||
'release': __version__,
|
||||
'environment': ENVIRONMENT}
|
||||
self.enabled = SETTINGS['sync'] and \
|
||||
RANK in {-1, 0} and \
|
||||
check_online() and \
|
||||
not TESTS_RUNNING and \
|
||||
(is_pip_package() or get_git_origin_url() == 'https://github.com/ultralytics/ultralytics.git')
|
||||
self.enabled = \
|
||||
SETTINGS['sync'] and \
|
||||
RANK in {-1, 0} and \
|
||||
check_online() and \
|
||||
not TESTS_RUNNING and \
|
||||
(is_pip_package() or get_git_origin_url() == 'https://github.com/ultralytics/ultralytics.git')
|
||||
|
||||
def __call__(self, cfg, all_keys=False, traces_sample_rate=1.0):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user