Skip to content

I can not inference with my model ! #33

@AmirAzz

Description

@AmirAzz

Thanks for this video , I tried to use this code :

!python clip_object_tracker.py --source /content/zero-shot-object-tracking/data/video/Turkey.mp4 --url https://detect.roboflow.com/video-track/2 --api_key *********** --info

but this issue appears:

video 1/1 (23/1351) /content/zero-shot-object-tracking/data/video/Turkey.mp4:
[Detections]
[Tracks] 2
Traceback (most recent call last):
File "clip_object_tracker.py", line 370, in
detect()
File "clip_object_tracker.py", line 269, in detect
update_tracks(tracker, frame_count, save_txt, txt_path, save_img, view_img, im0, gn)
File "clip_object_tracker.py", line 46, in update_tracks
class_name = names[int(class_num)] if opt.detection_engine == "yolov5" or "yolov7" else class_num
ValueError: invalid literal for int() with base 10: 'damage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions