ultralytics 8.3.61 Restore Python 3.8 compatibility (#18666)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
ffd8df3751
commit
4922016901
7 changed files with 11 additions and 11 deletions
|
|
@ -62,7 +62,7 @@ class Inference:
|
|||
self.selected_ind = [] # List of selected classes for detection or tracking
|
||||
self.model = None # Container for the loaded model instance
|
||||
|
||||
self.temp_dict = {"model": None} | kwargs
|
||||
self.temp_dict = {"model": None, **kwargs}
|
||||
self.model_path = None # Store model file name with path
|
||||
if self.temp_dict["model"] is not None:
|
||||
self.model_path = self.temp_dict["model"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue