yolov7-deepsort-tracking
yolov7-deepsort-tracking copied to clipboard
list index out of range for a costume trained yolo7 weight
/content/yolov7-deepsort-tracking/utils/google_utils.py in attempt_download(file, repo) 28 except: # fallback plan 29 assets = ['yolov7.pt'] ---> 30 tag = subprocess.check_output('git tag', shell=True).decode().split()[-1] 31 32 name = file.name
IndexError: list index out of range
I am having an issue finding where the error comes from! I thought this issue was because of the YAML file and the classes that are different but I changed coco's YAML and nothing changed please help
Have you changed anything in the default given files?
If you have a custom trained model, you can run the original code repo as it is for just once and then just replace the weights of your model later as shown in the Notebook demo.
@deshwalmaheshobject detection its working fine, but for tracking its not working, im not able to get names of my custom model, i replaced names ,still its using same coco.names also changed names from data/coco.names still its same https://github.com/deshwalmahesh/yolov7-deepsort-tracking/blob/e82d2560370dece0ce98a337532b280b7f27b51d/tracking_helpers.py#L243
Same issue for me
@akashAD98 @AdrienKinart It's getting the names from a different file. Might be the indexing issue. Need to check with coco names file