ultralytics 8.0.170 apply is_list fixes for torch.Tensor inputs (#4713)

Co-authored-by: Gezhi Zhang <765724965@qq.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Glenn Jocher 2023-09-04 02:22:05 +02:00 committed by GitHub
parent a1c1d6b483
commit aa9133bb88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 74 additions and 36 deletions

View file

@ -112,8 +112,8 @@ class TQDM(tqdm_original):
Custom Ultralytics tqdm class with different default arguments.
Args:
(*args): Positional arguments passed to original tqdm.
(**kwargs): Keyword arguments, with custom defaults applied.
*args (list): Positional arguments passed to original tqdm.
**kwargs (dict): Keyword arguments, with custom defaults applied.
"""
def __init__(self, *args, **kwargs):