Open Light-- opened 2 years ago
Replace:
ln = [ln[i[0] - 1] for i in self.net.getUnconnectedOutLayers()]
by
ln = [ln[i - 1] for i in self.net.getUnconnectedOutLayers()]
src: https://stackoverflow.com/questions/69834335/loading-yolo-invalid-index-to-scalar-variable
thank it help me a lot
$ python Run.py
output: