Traceback (most recent call last):
File "D:/traffic recognition/Traffic-Signal-Violation-Detection-System-master/Project-GUI.py", line 4, in
import object_detection as od
File "D:\traffic recognition\Traffic-Signal-Violation-Detection-System-master\object_detection.py", line 412, in
weight_reader.load_weights(yolov3)
File "D:\traffic recognition\Traffic-Signal-Violation-Detection-System-master\object_detection.py", line 40, in load_weights
size = np.prod(norm_layer.get_weights()[0].shape)
AttributeError: 'NoneType' object has no attribute 'get_weights'
Hello, when I run the following error occurred
Traceback (most recent call last): File "D:/traffic recognition/Traffic-Signal-Violation-Detection-System-master/Project-GUI.py", line 4, in
import object_detection as od
File "D:\traffic recognition\Traffic-Signal-Violation-Detection-System-master\object_detection.py", line 412, in
weight_reader.load_weights(yolov3)
File "D:\traffic recognition\Traffic-Signal-Violation-Detection-System-master\object_detection.py", line 40, in load_weights
size = np.prod(norm_layer.get_weights()[0].shape)
AttributeError: 'NoneType' object has no attribute 'get_weights'
May I ask what this is about