From d4a6620ed40b9afac7978558b750e390254db7a9 Mon Sep 17 00:00:00 2001 From: kennymckormick Date: Mon, 19 Feb 2024 14:49:59 +0800 Subject: [PATCH] fix lint --- README.md | 2 +- demo/demo_skeleton.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2fa1984..b9d2ca7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# PYSKL +# PYSKL [![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/revisiting-skeleton-based-action-recognition/skeleton-based-action-recognition-on-ntu-rgbd)](https://paperswithcode.com/sota/skeleton-based-action-recognition-on-ntu-rgbd?p=revisiting-skeleton-based-action-recognition) [![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/dg-stgcn-dynamic-spatial-temporal-modeling/skeleton-based-action-recognition-on-ntu-rgbd-1)](https://paperswithcode.com/sota/skeleton-based-action-recognition-on-ntu-rgbd-1?p=dg-stgcn-dynamic-spatial-temporal-modeling) diff --git a/demo/demo_skeleton.py b/demo/demo_skeleton.py index 2e2cd09..93867f5 100644 --- a/demo/demo_skeleton.py +++ b/demo/demo_skeleton.py @@ -213,7 +213,7 @@ def pose_tracking(pose_results, max_tracks=2, thre=30): new_track['track_id'] = num_tracks new_track['data'] = [(idx, poses[j])] tracks.append(new_track) - if num_joints is None: + if num_joints is None: return None, None tracks.sort(key=lambda x: -len(x['data'])) result = np.zeros((max_tracks, len(pose_results), num_joints, 3), dtype=np.float16)