~\Videos\Traffic-Signal-Violation-Detection-System-master\object_detection.py in
409
410 # load the weights trained on COCO into the model
--> 411 weight_reader = WeightReader(weights_path)
412 weight_reader.load_weights(yolov3)
413
~\Videos\Traffic-Signal-Violation-Detection-System-master\object_detection.py in init(self, weight_file)
8 class WeightReader:
9 def init(self, weight_file):
---> 10 with open(weight_file, 'rb') as w_f:
11 major, = struct.unpack('i', w_f.read(4))
12 minor, = struct.unpack('i', w_f.read(4))
FileNotFoundError: [Errno 2] No such file or directory: 'yolov3.weights'
~\Videos\Traffic-Signal-Violation-Detection-System-master\object_detection.py in
409
410 # load the weights trained on COCO into the model
--> 411 weight_reader = WeightReader(weights_path)
412 weight_reader.load_weights(yolov3)
413
~\Videos\Traffic-Signal-Violation-Detection-System-master\object_detection.py in init(self, weight_file) 8 class WeightReader: 9 def init(self, weight_file): ---> 10 with open(weight_file, 'rb') as w_f: 11 major, = struct.unpack('i', w_f.read(4)) 12 minor, = struct.unpack('i', w_f.read(4))
FileNotFoundError: [Errno 2] No such file or directory: 'yolov3.weights'