ultralytics 8.1.25 fix **kwargs: (dict) warnings (#8815)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
f8f62bc649
commit
2bc605f32a
12 changed files with 22 additions and 22 deletions
|
|
@ -68,7 +68,7 @@ def torch_save(*args, use_dill=True, **kwargs):
|
|||
Args:
|
||||
*args (tuple): Positional arguments to pass to torch.save.
|
||||
use_dill (bool): Whether to try using dill for serialization if available. Defaults to True.
|
||||
**kwargs (dict): Keyword arguments to pass to torch.save.
|
||||
**kwargs (any): Keyword arguments to pass to torch.save.
|
||||
"""
|
||||
try:
|
||||
assert use_dill
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue