Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'nkpt' #3

Open
DanielNowak98 opened this issue Feb 9, 2024 · 0 comments
Open

KeyError: 'nkpt' #3

DanielNowak98 opened this issue Feb 9, 2024 · 0 comments

Comments

@DanielNowak98
Copy link

Hey i got the following error:

Generating keypoints data for:  dataset/train/reach_rh/S13A30I31M0_325.mp4
Traceback (most recent call last):
  File "/home/prolab/Schreibtisch/Neue_Masterarbeit/Unified_Action_Recognition_System/train.py", line 16, in <module>
    train_dataset = video_to_keypoint_dataset(path='./dataset/train/', device=opt.device, yolo_model_path=opt.yolo_model_path, opt=opt, show_img=opt.show_img)
  File "/home/prolab/Schreibtisch/Neue_Masterarbeit/Unified_Action_Recognition_System/general_utils.py", line 189, in __init__
    self.all_keypoints, self.all_keypoints_score = self.get_all_keypoints_from_all_video()
  File "/home/prolab/Schreibtisch/Neue_Masterarbeit/Unified_Action_Recognition_System/general_utils.py", line 215, in get_all_keypoints_from_all_video
    keypoints_of_one_video, keypoints_score_of_one_video = self.keypoints_of_one_video(video_path, self.device, model, tracker, stride, imgsz, self.show_img, self.opt)
  File "/home/prolab/Schreibtisch/Neue_Masterarbeit/Unified_Action_Recognition_System/general_utils.py", line 269, in keypoints_of_one_video
    output = non_max_suppression_kpt(output, 0.25, 0.65, nc=model.yaml['nc'], nkpt=model.yaml['nkpt'], kpt_label=True)
KeyError: 'nkpt'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant