Modification method:
Just need to changedetect.py
for path, im, im0s, vid_cap, s in dataset:
Add a new line belowclass_counts = {}
class_counts[int(c)] = class_counts.get(int(c
Modification method:
Just need to changedetect.py
for path, im, im0s, vid_cap, s in dataset:
Add a new line belowclass_counts = {}
class_counts[int(c)] = class_counts.get(int(c