Add Penn-Action dataset, card and banner

#1
This view is limited to 50 files because it contains too many changes. See the raw diff here.
README.md ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: other
5
+ pretty_name: Penn Action
6
+ task_categories:
7
+ - video-classification
8
+ - keypoint-detection
9
+ tags:
10
+ - action-recognition
11
+ - human-action-recognition
12
+ - pose-estimation
13
+ - video
14
+ - computer-vision
15
+ size_categories:
16
+ - 1K<n<10K
17
+ configs:
18
+ - config_name: default
19
+ default: true
20
+ data_files:
21
+ - split: train
22
+ path:
23
+ - data/train/*.mp4
24
+ - data/train/metadata.jsonl
25
+ - split: test
26
+ path:
27
+ - data/test/*.mp4
28
+ - data/test/metadata.jsonl
29
+ - config_name: annotations
30
+ data_files:
31
+ - split: train
32
+ path: annotations/train.parquet
33
+ - split: test
34
+ path: annotations/test.parquet
35
+ ---
36
+
37
+ <h1 align="center">Penn Action</h1>
38
+
39
+ <p align="center">
40
+ <video controls autoplay loop muted playsinline width="900" poster="https://huggingface.co/datasets/dronefreak/Penn-Action/resolve/main/assets/demo_banner_poster.jpg" src="https://huggingface.co/datasets/dronefreak/Penn-Action/resolve/main/assets/demo_banner.mp4"></video>
41
+ </p>
42
+
43
+ ![Task](https://img.shields.io/badge/Task-Action%20and%20Pose-blue?style=flat-square) ![Clips](https://img.shields.io/badge/Clips-2326-0aa1a7?style=flat-square) ![Frames](https://img.shields.io/badge/Frames-163841-0aa1a7?style=flat-square) ![Classes](https://img.shields.io/badge/Classes-15-success?style=flat-square) ![Joints](https://img.shields.io/badge/Joints-13-orange?style=flat-square) ![License](https://img.shields.io/badge/License-Other-lightgrey?style=flat-square)
44
+
45
+ > **Unofficial redistribution of Penn Action: playable clips, per-frame pose annotations, and the original frames bit for bit.**
46
+
47
+ ## Dataset Description
48
+
49
+ - **Homepage:** dreamdragon.github.io/PennAction
50
+ - **Paper:** ICCV 2013
51
+ - **Clips:** 2,326
52
+ - **Frames:** 163,841
53
+ - **Classes:** 15
54
+ - **Joints:** 13 per frame
55
+ - **Split:** 1,258 train, 1,068 test
56
+
57
+ ## Disclaimer
58
+
59
+ This repository is **not** an official release. Penn Action was created by Weiyu Zhang, Menglong Zhu and Konstantinos G. Derpanis at the University of Pennsylvania, who retain all rights in the dataset. Copyright in the source videos remains with their owners. This copy comes from the archive linked on the [official page](https://dreamdragon.github.io/PennAction/), which states no license and asks users to cite the paper below.
60
+
61
+ ---
62
+
63
+ # Changes from the Official Release
64
+
65
+ - **Original frames are preserved byte for byte** in `frames/*.tar`, and every frame was read back and hash-checked.
66
+ - **Added:** H.264 MP4s in `data/` so clips play in the dataset viewer. These are **lossy previews** (worst-frame PSNR 33.47 dB, mean 39.47 dB). Use the tars for pixel-exact work.
67
+ - The source has no frame rate, so MP4s use a **nominal 30 fps**. Odd-sized clips gain one repeated edge row or column; crop to `width` and `height`.
68
+ - Annotations are copied unchanged from `.mat` to Parquet and compared exactly on every sequence. The originals are in `original/`.
69
+
70
+ **Notes on the official data (kept as is):**
71
+
72
+ - **Joint order is not documented officially.** Frame inspection shows that odd indices are the person's **right** side, so index 1 is `right_shoulder`. Some codebases name these the other way round. `joints.txt` gives the order used here.
73
+ - Sequences `1154` and `1865` have one bounding box fewer than frames; the missing final entry is `null`.
74
+ - 185 frames across 10 sequences have degenerate boxes.
75
+ - 1,012 of 1,660,432 visible joints, across 4 sequences, fall outside the image.
76
+ - In 165 sequences, the stored width is larger than the real frame (by one pixel in 164, two in one). `width` and `height` here are measured from the frames.
77
+ - Class names follow the annotation files (`pullup`, `pushup`, `situp`, `squat`, `bowl`, `strum_guitar`), which differ from the official README.
78
+
79
+ **Verification:** frame counts, every MP4 frame against its source, a temporal-shift control, exact annotation round-trip, and a front/back view control for joint sides. See `verification.json`.
80
+
81
+ ---
82
+
83
+ # Dataset Structure
84
+
85
+ ```text
86
+ data/{train,test}/NNNN.mp4
87
+ data/{train,test}/metadata.jsonl
88
+ annotations/{train,test}.parquet
89
+ frames/{train,test}-*.tar
90
+ original/
91
+ joints.txt
92
+ classes.txt
93
+ assets/
94
+ ```
95
+
96
+ | `annotations` field | Description |
97
+ |---|---|
98
+ | `sequence_id` | Official sequence id |
99
+ | `action`, `view` | Action and coarse camera view |
100
+ | `num_frames`, `width`, `height` | Clip length and real frame size |
101
+ | `x`, `y` | Joint coordinates, frames x 13 |
102
+ | `visibility` | Joint visibility, frames x 13 |
103
+ | `bbox` | Per-frame `[xmin, ymin, xmax, ymax]` |
104
+
105
+ ---
106
+
107
+ # Usage
108
+
109
+ ```python
110
+ from datasets import load_dataset
111
+
112
+ clips = load_dataset("dronefreak/Penn-Action")
113
+ poses = load_dataset("dronefreak/Penn-Action", "annotations")
114
+
115
+ row = poses["train"][0]
116
+ print(row["action"], row["num_frames"], row["x"][0])
117
+ ```
118
+
119
+ ---
120
+
121
+ # Citation
122
+
123
+ ```bibtex
124
+ @inproceedings{zhang2013actemes,
125
+ title = {From Actemes to Action: A Strongly-Supervised Representation for Detailed Action Understanding},
126
+ author = {Zhang, Weiyu and Zhu, Menglong and Derpanis, Konstantinos G.},
127
+ booktitle = {International Conference on Computer Vision (ICCV)},
128
+ year = {2013}
129
+ }
130
+ ```
131
+
132
+ ---
133
+
134
+ # License
135
+
136
+ No license was specified by the original authors. This is an **unofficial redistribution for research, with attribution**. All rights remain with the original authors and the copyright holders of the underlying media. **If you are a rights holder and want this removed, open a discussion on this repository and it will be taken down.**
annotations/test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c931ffb3eb5d8c3689a5f32c761ac38dea9e83ab244e0001afd9fe8247880301
3
+ size 3430159
annotations/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30c279272af3a5c0522ecc1a8da2382e2fc5fbda34ef28fcbfe58005f0c857ab
3
+ size 3963687
assets/demo_banner.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b29a503c20c4ea39260f60b49d4eee96fca026e86eb565143738b8902016f0b6
3
+ size 2066885
assets/demo_banner_poster.jpg ADDED

Git LFS Details

  • SHA256: 8c9e1c0e476c0b59c8e7cb5e746a7494db57b45c815723ac67a50f915ca2dccc
  • Pointer size: 131 Bytes
  • Size of remote file: 182 kB
classes.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ baseball_pitch
2
+ baseball_swing
3
+ bench_press
4
+ bowl
5
+ clean_and_jerk
6
+ golf_swing
7
+ jump_rope
8
+ jumping_jacks
9
+ pullup
10
+ pushup
11
+ situp
12
+ squat
13
+ strum_guitar
14
+ tennis_forehand
15
+ tennis_serve
data/test/0001.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50e10bc4189048d7d554526be4d238da21b226753eb345d65a4ad480af0258a3
3
+ size 702965
data/test/0010.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16178bddb2f34995d9c2785cd47ef0b34ff7e8f8ac711bc960695ca689e688a6
3
+ size 413418
data/test/0013.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5b33b88428af36376b259394eadfc871b7e3fe464d1223b3abc55bc712ae675
3
+ size 1074967
data/test/0014.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3ada7963883db9e6ba8d95ac7302a249c2dcc5af3c337fff34bc5e8d1e65ac0
3
+ size 747466
data/test/0025.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95da27ab6043c0ce6ec05a3b1e75a8c8caebf641d3e444c60bd641b156efeba7
3
+ size 879702
data/test/0026.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:93aa0eec00743b58f4ce27098aafca126ee798a5657a16636aa661d16d63f3a4
3
+ size 838840
data/test/0027.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e27ef45ad738d7d1818f9fc32db819bd9b592de31dc8cc9d7e45e5864044ccc1
3
+ size 962501
data/test/0028.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2deaa018e3c0975bc0ec364d2e815255e986126a56023bae5fbb949361f1498
3
+ size 1361473
data/test/0029.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33ffa4d8f5d86c8e81300bc0fa76c819d1bbb5200c00f5813474f64f93a8b512
3
+ size 2082330
data/test/0030.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afcf9deca5854cc6b68cbf2940852b817780a5e0b0c43a6a3e7ed0ebdcee9867
3
+ size 1134156
data/test/0031.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:713b3840b5e3c4103848ec633657955feec00df22ebb6ad1d59b2490e3e67067
3
+ size 401004
data/test/0033.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:019612326bf7f72eb60b5e82dded1c710be5fd674362fe5589e75f7eedf37030
3
+ size 1260238
data/test/0034.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:198dea394e505c91e97a604b41383030d19b1a442730ce0f04c9e7c661bcf67e
3
+ size 628607
data/test/0035.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:457b17874986fd8c888f8dff1ac891758758d8d99a8211a259fb0a5e4c7e74c2
3
+ size 708094
data/test/0036.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:697a7411b133afe1e8788010b9259563007ba63701ead190c270f73e84cd55ad
3
+ size 707724
data/test/0039.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4de2c594836fb384e069e756526c50af52b63737f47659b2d142c0a1eafa840
3
+ size 834102
data/test/0050.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2df06305ff9e1ab61d69db3acea76299c1d56c302e38ef3979910bc2d7674a3f
3
+ size 1144718
data/test/0056.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa2bfa4cdd05680b539664b9d4ea37a251f968a6638b11ea69167301ff584d4b
3
+ size 430855
data/test/0057.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64dc9e2bb22e11202b5d2cd6f6f0b44f441c7ff19eef4655ea008034fd39294e
3
+ size 592702
data/test/0069.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8a4b18680121f986c330de2aac295aa7e99ef6ec82af8497770717e4d6c2c5d
3
+ size 857593
data/test/0073.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daaf32a33b9d841a2eb3329458377f483fa9ceac0ac912289174c33798d2144a
3
+ size 386410
data/test/0076.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:139f6219df871edd75e60329f401aec783ee6bf364c81ab7c0cab3f603655b2b
3
+ size 1184094
data/test/0077.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:adfdba5b4216c7b8b9a96cacf1ac3555ccfa5e3abd174d2c1d371f353c5c743e
3
+ size 373649
data/test/0078.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e2e85b6cf3684776ab6ed33743b1035cf6476f8e42de478bd3b67fd2dbeae11
3
+ size 589755
data/test/0079.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ae23dc864feb66b4fe04205341270197773306b21a0e7813eb594be1efe90f6
3
+ size 318224
data/test/0086.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c1aae542fd1857975238fe3257dbe2dc74853a78f451805cd1b7f95849d0ef6
3
+ size 402162
data/test/0087.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e47586bf54ac9cfab7ef4e52366d2d683f8192fe87114511b3fac1930749304
3
+ size 561005
data/test/0088.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d18a44ca627c81e7c6996b2ab2d2dbae869c973d29990cee964f3bdf725f551
3
+ size 384418
data/test/0095.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26c50b782b33cfb258d82fd2ec93245036746f05b67a0ee80ba866143581f405
3
+ size 746098
data/test/0096.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3b6a86b5a42590d91bbe188c127ea279b4a468b4a62f9adb930928b3fdd6fd8
3
+ size 632699
data/test/0103.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d13322c1fa16de802feb5e4d0437d220b1a5e7cbc3fdd7d68c09581f03bb27e
3
+ size 598578
data/test/0104.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d1b8eb78de6edc3917721710d1976a952432aa827f7b8a5f265f2b45a16450b
3
+ size 624817
data/test/0105.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16ecdf876056cbe2ca32f266710c8defc51c92d0940b08df2b349e87e756de01
3
+ size 415793
data/test/0106.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9693edb5628ba4afff82367ded9497b2c7f5b87f4be48d6301d007de73d0098
3
+ size 491704
data/test/0107.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5351f39cfea8e0f8e3eb44e1b9b1f601ebde2422b08d2bcb11680bc3a8ce654
3
+ size 394939
data/test/0108.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bcbc737e17a459d5d16efab0c8c699983d59a2e5091ea10826bf0f2402ea54c
3
+ size 534528
data/test/0109.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da7488cda93c0ef5c2bc7cfafdb7d9893e0ff8e3b3dbab0e7d7d143d5d5aa14c
3
+ size 909652
data/test/0110.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db44d942a6c207f793852f98ceccfc844410202e78ca76a0da5e1d8d0a8cb11c
3
+ size 955114
data/test/0111.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a3661cb7d853c9192c6458e7c08803c81063b68b87a3d492584e28b31834c94
3
+ size 644993
data/test/0114.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c762c0a2cf06548edc4e0e77813f88939d58a4c9412813f590d1ec234cfb3983
3
+ size 737527
data/test/0119.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d93f5421020680b47e0c18990d6394b9a08e4ef1228cc48475bc792e55e3f5a0
3
+ size 1100502
data/test/0120.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8074db998181d916a4545c31b4d0b796ec7f322e510ae9e9383b0859011fb5f
3
+ size 1891749
data/test/0121.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:63c4ea9f2a3b805b24734ad9008bc0b95dd7d4449d524910538aa004b920f9c4
3
+ size 578807
data/test/0129.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5e789d9050cbf3ad84384f0fd48a88ef7965828aabe60e93dfa7816932140ca
3
+ size 554655