Skip to content

Commit

Permalink
Merge pull request #19 from XKMar/patch-2
Browse files Browse the repository at this point in the history
Update gene_npz.py
  • Loading branch information
zh-plus authored Dec 17, 2019
2 parents 23d169e + 9080382 commit fd8eba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion joints_detectors/Alphapose/gene_npz.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def generate_kpts(video_file):
no_person.clear()

for n in no_person:
kpts[n] = kpts[-1]
kpts[n] = kpts[-1] if kpts[-1] else kpts[n-1]

# ============ Changing End ++++++++++

Expand Down

0 comments on commit fd8eba5

Please sign in to comment.