From 03d29d8371ed06816526b12533aeef2e9e6b1dd1 Mon Sep 17 00:00:00 2001 From: Milan Kordic Date: Tue, 9 Apr 2024 19:18:28 +0000 Subject: [PATCH] Patch update to support YOLOv3 on Python 3.10 --- model_demos/cv_demos/yolo_v3/holli_src/yolov3_base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/model_demos/cv_demos/yolo_v3/holli_src/yolov3_base.py b/model_demos/cv_demos/yolo_v3/holli_src/yolov3_base.py index 565374ff..87ecca92 100644 --- a/model_demos/cv_demos/yolo_v3/holli_src/yolov3_base.py +++ b/model_demos/cv_demos/yolo_v3/holli_src/yolov3_base.py @@ -1,6 +1,7 @@ import importlib from abc import ABCMeta, abstractmethod -from collections import Iterable, OrderedDict, defaultdict +from collections import OrderedDict, defaultdict +from collections.abc import Iterable import torch import torch.nn as nn