yongAgain sshao0516 commited on
Commit
2b33927
Β·
verified Β·
0 Parent(s):

Duplicate from sshao0516/CrowdHuman

Browse files

Co-authored-by: Shuai Shao <sshao0516@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mds filter=lfs diff=lfs merge=lfs -text
13
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
14
+ *.model filter=lfs diff=lfs merge=lfs -text
15
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
16
+ *.npy filter=lfs diff=lfs merge=lfs -text
17
+ *.npz filter=lfs diff=lfs merge=lfs -text
18
+ *.onnx filter=lfs diff=lfs merge=lfs -text
19
+ *.ot filter=lfs diff=lfs merge=lfs -text
20
+ *.parquet filter=lfs diff=lfs merge=lfs -text
21
+ *.pb filter=lfs diff=lfs merge=lfs -text
22
+ *.pickle filter=lfs diff=lfs merge=lfs -text
23
+ *.pkl filter=lfs diff=lfs merge=lfs -text
24
+ *.pt filter=lfs diff=lfs merge=lfs -text
25
+ *.pth filter=lfs diff=lfs merge=lfs -text
26
+ *.rar filter=lfs diff=lfs merge=lfs -text
27
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
28
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar filter=lfs diff=lfs merge=lfs -text
31
+ *.tflite filter=lfs diff=lfs merge=lfs -text
32
+ *.tgz filter=lfs diff=lfs merge=lfs -text
33
+ *.wasm filter=lfs diff=lfs merge=lfs -text
34
+ *.xz filter=lfs diff=lfs merge=lfs -text
35
+ *.zip filter=lfs diff=lfs merge=lfs -text
36
+ *.zst filter=lfs diff=lfs merge=lfs -text
37
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
38
+ # Audio files - uncompressed
39
+ *.pcm filter=lfs diff=lfs merge=lfs -text
40
+ *.sam filter=lfs diff=lfs merge=lfs -text
41
+ *.raw filter=lfs diff=lfs merge=lfs -text
42
+ # Audio files - compressed
43
+ *.aac filter=lfs diff=lfs merge=lfs -text
44
+ *.flac filter=lfs diff=lfs merge=lfs -text
45
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
46
+ *.ogg filter=lfs diff=lfs merge=lfs -text
47
+ *.wav filter=lfs diff=lfs merge=lfs -text
48
+ # Image files - uncompressed
49
+ *.bmp filter=lfs diff=lfs merge=lfs -text
50
+ *.gif filter=lfs diff=lfs merge=lfs -text
51
+ *.png filter=lfs diff=lfs merge=lfs -text
52
+ *.tiff filter=lfs diff=lfs merge=lfs -text
53
+ # Image files - compressed
54
+ *.jpg filter=lfs diff=lfs merge=lfs -text
55
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
56
+ *.webp filter=lfs diff=lfs merge=lfs -text
57
+ # Video files - compressed
58
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ *.webm filter=lfs diff=lfs merge=lfs -text
60
+ annotation_train.odgt filter=lfs diff=lfs merge=lfs -text
61
+ annotation_val.odgt filter=lfs diff=lfs merge=lfs -text
CrowdHuman_test.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d43213edab47ca26d36bd1a8438f859da45b74e160c4d147871426d95914213
3
+ size 3259241265
CrowdHuman_train01.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ba340163cff0f2446027af95dc96bcb9c66be18506eabb57822c400a7efd3b8
3
+ size 2970597373
CrowdHuman_train02.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9ecfb43eaf8381ddd4d1ff4e9a0877b694dbfba7a7a33ed3966ee2c2a628663
3
+ size 3092749718
CrowdHuman_train03.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cac171914c4f5c7371e3d42d20b50858caa1602811ae573aa35bbfe672dc29f
3
+ size 2306357030
CrowdHuman_val.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c0ab99bb80ac162cd3efdf94a1a6100c4f059a61d69596412c6b44ebc20d1363
3
+ size 2488658160
README.md ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ task_categories:
4
+ - object-detection
5
+ language:
6
+ - en
7
+ pretty_name: CrowdHuman
8
+ size_categories:
9
+ - 10K<n<100K
10
+ ---
11
+ # CrowdHuman: A Benchmark for Detecting Human in a Crowd
12
+
13
+ - 🏠 homepage: https://www.crowdhuman.org/
14
+ - πŸ“„ paper: https://arxiv.org/pdf/1805.00123
15
+
16
+ CrowdHuman is a benchmark dataset to better evaluate detectors in crowd scenarios. The CrowdHuman dataset is large, rich-annotated and contains high diversity. CrowdHuman contains 15000, 4370 and 5000 images for training, validation, and testing, respectively. There are a total of 470K human instances from train and validation subsets and 23 persons per image, with various kinds of occlusions in the dataset. Each human instance is annotated with a head bounding-box, human visible-region bounding-box and human full-body bounding-box. We hope our dataset will serve as a solid baseline and help promote future research in human detection tasks.
17
+
18
+ ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6548f8779be7bd365d04ab91/Gpvj5Yu8QUzxeUIJhGrmJ.png)
19
+ *Volume, density and diversity of different human detection datasets. For fair comparison, we only show the statistics of training subset.*
20
+
21
+ ## πŸ” Samples
22
+
23
+ |![image/png](https://cdn-uploads.huggingface.co/production/uploads/6548f8779be7bd365d04ab91/dPyyTwCTTZIE2cHRAZmNn.png)|![image/png](https://cdn-uploads.huggingface.co/production/uploads/6548f8779be7bd365d04ab91/rsZAVFTtcocma-Fl7C_QI.png)|![image/png](https://cdn-uploads.huggingface.co/production/uploads/6548f8779be7bd365d04ab91/MQxjxtQap5hGs6FtxXs1_.png)|
24
+ |:--:|:--:|:--:|
25
+ |![image/png](https://cdn-uploads.huggingface.co/production/uploads/6548f8779be7bd365d04ab91/hcpWVRx6l5HAcLyg8XmxB.png)|![image/png](https://cdn-uploads.huggingface.co/production/uploads/6548f8779be7bd365d04ab91/csivXdrgg_znDNh3quDTR.png)|![image/png](https://cdn-uploads.huggingface.co/production/uploads/6548f8779be7bd365d04ab91/RRPrpesNDYG7hNf2RuWMT.png)|
26
+ |![image/png](https://cdn-uploads.huggingface.co/production/uploads/6548f8779be7bd365d04ab91/-4ejs7lZGP9jhG8qBIQV2.png)|![image/png](https://cdn-uploads.huggingface.co/production/uploads/6548f8779be7bd365d04ab91/gAgUfdpj86vw4f_ovb6hT.png)|![image/png](https://cdn-uploads.huggingface.co/production/uploads/6548f8779be7bd365d04ab91/T-0bunDoidqaShROa3eKI.png)|
27
+
28
+ ## πŸ“ Files
29
+ - `CrowdHuman_train01.zip`
30
+ - `CrowdHuman_train02.zip`
31
+ - `CrowdHuman_train03.zip`
32
+ - `CrowdHuman_val.zip`
33
+ - `CrowdHuman_test.zip`
34
+ - `annotation_train.odgt`
35
+ - `annotation_val.odgt`
36
+
37
+ ## πŸ–¨ Data Format
38
+ We support `annotation_train.odgt` and `annotation_val.odgt` which contains the annotations of our dataset.
39
+
40
+ ### What is odgt?
41
+ `odgt` is a file format that each line of it is a JSON, this JSON contains the whole annotations for the relative image. We prefer using this format since it is reader-friendly.
42
+
43
+ ### Annotation format
44
+ ```json
45
+ JSON{
46
+ "ID" : image_filename,
47
+ "gtboxes" : [gtbox],
48
+ }
49
+
50
+ gtbox{
51
+ "tag" : "person" or "mask",
52
+ "vbox": [x, y, w, h],
53
+ "fbox": [x, y, w, h],
54
+ "hbox": [x, y, w, h],
55
+ "extra" : extra,
56
+ "head_attr" : head_attr,
57
+ }
58
+
59
+ extra{
60
+ "ignore": 0 or 1,
61
+ "box_id": int,
62
+ "occ": int,
63
+ }
64
+
65
+ head_attr{
66
+ "ignore": 0 or 1,
67
+ "unsure": int,
68
+ "occ": int,
69
+ }
70
+ ```
71
+ - `Keys` in `extra` and `head_attr` are **optional**, it means some of them may not exist
72
+ - `extra/head_attr` contains attributes for `person/head`
73
+ - `tag` is `mask` means that this box is `crowd/reflection/something like person/...` and need to be `ignore`(the `ignore` in `extra` is `1`)
74
+ - `vbox, fbox, hbox` means `visible box, full box, head box` respectively
75
+
76
+ ## ⚠️ Terms of use:
77
+ by downloading the image data you agree to the following terms:
78
+ 1. You will use the data only for non-commercial research and educational purposes.
79
+ 2. You will NOT distribute the above images.
80
+ 3. Megvii Technology makes no representations or warranties regarding the data, including but not limited to warranties of non-infringement or fitness for a particular purpose.
81
+ 4. You accept full responsibility for your use of the data and shall defend and indemnify Megvii Technology, including its employees, officers and agents, against any and all claims arising from your use of the data, including but not limited to your use of any copies of copyrighted images that you may create from the data.
82
+
83
+ ## πŸ† Related Challenge
84
+ - [Detection In the Wild Challenge Workshop 2019](https://www.objects365.org/workshop2019.html)
85
+
86
+ ## πŸ“š Citaiton
87
+ Please cite the following paper if you use our dataset.
88
+ ```
89
+ @article{shao2018crowdhuman,
90
+ title={CrowdHuman: A Benchmark for Detecting Human in a Crowd},
91
+ author={Shao, Shuai and Zhao, Zijian and Li, Boxun and Xiao, Tete and Yu, Gang and Zhang, Xiangyu and Sun, Jian},
92
+ journal={arXiv preprint arXiv:1805.00123},
93
+ year={2018}
94
+ }
95
+ ```
96
+
97
+ ## πŸ‘₯ People
98
+ - [Shuai Shao*](https://www.sshao.com/)
99
+ - [Zijian Zhao*](https://scholar.google.com/citations?user=9Iv3NoIAAAAJ)
100
+ - Boxun Li
101
+ - [Tete Xiao](https://tetexiao.com/)
102
+ - [Gang Yu](https://www.skicyyu.org/)
103
+ - [Xiangyu Zhang](https://scholar.google.com/citations?user=yuB-cfoAAAAJ)
104
+ - [Jian Sun](https://scholar.google.com/citations?user=ALVSZAYAAAAJ)
annotation_train.odgt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bf241a79f19e30cf52681eab3392368bd5a534164be9272e7a808cb284d9f77
3
+ size 80017502
annotation_val.odgt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be422c79a190ff7e30fe5cbd74cbf45a2dadda6c5af58c6ec11a038ba2993c04
3
+ size 23323139