Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
9
22
video
stringclasses
60 values
frame
int32
0
99
image
imagewidth (px)
854
1.14k
mask
imagewidth (px)
854
1.14k
num_objects
int32
1
8
bear/00000
bear
0
1
bear/00001
bear
1
1
bear/00002
bear
2
1
bear/00003
bear
3
1
bear/00004
bear
4
1
bear/00005
bear
5
1
bear/00006
bear
6
1
bear/00007
bear
7
1
bear/00008
bear
8
1
bear/00009
bear
9
1
bear/00010
bear
10
1
bear/00011
bear
11
1
bear/00012
bear
12
1
bear/00013
bear
13
1
bear/00014
bear
14
1
bear/00015
bear
15
1
bear/00016
bear
16
1
bear/00017
bear
17
1
bear/00018
bear
18
1
bear/00019
bear
19
1
bear/00020
bear
20
1
bear/00021
bear
21
1
bear/00022
bear
22
1
bear/00023
bear
23
1
bear/00024
bear
24
1
bear/00025
bear
25
1
bear/00026
bear
26
1
bear/00027
bear
27
1
bear/00028
bear
28
1
bear/00029
bear
29
1
bear/00030
bear
30
1
bear/00031
bear
31
1
bear/00032
bear
32
1
bear/00033
bear
33
1
bear/00034
bear
34
1
bear/00035
bear
35
1
bear/00036
bear
36
1
bear/00037
bear
37
1
bear/00038
bear
38
1
bear/00039
bear
39
1
bear/00040
bear
40
1
bear/00041
bear
41
1
bear/00042
bear
42
1
bear/00043
bear
43
1
bear/00044
bear
44
1
bear/00045
bear
45
1
bear/00046
bear
46
1
bear/00047
bear
47
1
bear/00048
bear
48
1
bear/00049
bear
49
1
bear/00050
bear
50
1
bear/00051
bear
51
1
bear/00052
bear
52
1
bear/00053
bear
53
1
bear/00054
bear
54
1
bear/00055
bear
55
1
bear/00056
bear
56
1
bear/00057
bear
57
1
bear/00058
bear
58
1
bear/00059
bear
59
1
bear/00060
bear
60
1
bear/00061
bear
61
1
bear/00062
bear
62
1
bear/00063
bear
63
1
bear/00064
bear
64
1
bear/00065
bear
65
1
bear/00066
bear
66
1
bear/00067
bear
67
1
bear/00068
bear
68
1
bear/00069
bear
69
1
bear/00070
bear
70
1
bear/00071
bear
71
1
bear/00072
bear
72
1
bear/00073
bear
73
1
bear/00074
bear
74
1
bear/00075
bear
75
1
bear/00076
bear
76
1
bear/00077
bear
77
1
bear/00078
bear
78
1
bear/00079
bear
79
1
bear/00080
bear
80
1
bear/00081
bear
81
1
bmx-bumps/00000
bmx-bumps
0
2
bmx-bumps/00001
bmx-bumps
1
2
bmx-bumps/00002
bmx-bumps
2
2
bmx-bumps/00003
bmx-bumps
3
2
bmx-bumps/00004
bmx-bumps
4
2
bmx-bumps/00005
bmx-bumps
5
2
bmx-bumps/00006
bmx-bumps
6
2
bmx-bumps/00007
bmx-bumps
7
2
bmx-bumps/00008
bmx-bumps
8
2
bmx-bumps/00009
bmx-bumps
9
2
bmx-bumps/00010
bmx-bumps
10
2
bmx-bumps/00011
bmx-bumps
11
2
bmx-bumps/00012
bmx-bumps
12
2
bmx-bumps/00013
bmx-bumps
13
2
bmx-bumps/00014
bmx-bumps
14
2
bmx-bumps/00015
bmx-bumps
15
2
bmx-bumps/00016
bmx-bumps
16
2
bmx-bumps/00017
bmx-bumps
17
2
End of preview. Expand in Data Studio

DAVIS 2017

DAVIS 2017 (Densely Annotated VIdeo Segmentation), the semi-supervised video object segmentation benchmark, packed once from the official 480p trainval archive with one row per frame, so it loads in one line and no data path has to be configured:

from datasets import load_dataset

ds = load_dataset("shijli/davis2017", "semi-supervised")  # 60 train / 30 val videos, 480p

In semi-supervised video object segmentation, the mask of the first frame is given and the objects have to be segmented in every following frame. DAVIS 2017 has several objects per video and is scored at 480p with the region similarity J, the boundary accuracy F and their mean J&F.

Splits

split videos frames objects official list
train 60 4209 144 ImageSets/2017/train.txt
validation 30 1999 61 ImageSets/2017/val.txt

Only trainval is packed: the test-dev and test-challenge sets ship first-frame masks only, so they cannot be scored offline.

Columns

column type content
id string <video>/<frame file stem>, e.g. bear/00000: the official file names, so rows join to a local DAVIS folder
video string video name
frame int32 0-based index of the frame in its video
image image the official 480p JPEG
mask image the official annotation: palette PNG whose pixel value is the object id in the video, 0 background, 255 void
num_objects int32 number of objects of the video, the largest id of its first-frame mask

Object ids are per video, not classes: object 1 of bear has nothing to do with object 1 of dogs-jump. The rows of a video are contiguous and in frame order, so a video is a groupby:

import itertools

val = load_dataset("shijli/davis2017", "semi-supervised", split="validation")
for video, frames in itertools.groupby(val, key=lambda row: row["video"]):
    frames = list(frames)  # frames[0]["mask"] is the given first-frame mask

How this was packed

The repository includes create_dataset.py, which produced these parquet files from the official DAVIS-2017-trainval-480p.zip. Images and masks are copied through byte for byte. Before pushing, the build was checked against the source: every split holds the videos and frames of its official list, the rows of every video are contiguous and in frame order, and sampled masks are mode P, hold only the video's object ids or void, match their image's size and are byte-identical to the source files.

License and attribution

DAVIS 2017 is released by its authors under CC BY-NC 4.0. The videos come from the online sources listed in SOURCES.md, which keep their own terms of use. This packaging adds no rights: use it under those same terms and cite the original work.

@article{Pont-Tuset_arXiv_2017,
    author = {Jordi Pont-Tuset and Federico Perazzi and Sergi Caelles and Pablo Arbel\'aez and
              Alexander Sorkine-Hornung and Luc {Van Gool}},
    title = {The 2017 DAVIS Challenge on Video Object Segmentation},
    journal = {arXiv:1704.00675},
    year = {2017}
}
@inproceedings{Perazzi_CVPR_2016,
    author = {Federico Perazzi and Jordi Pont-Tuset and Brian McWilliams and Luc {Van Gool} and
              Markus Gross and Alexander Sorkine-Hornung},
    title = {A Benchmark Dataset and Evaluation Methodology for Video Object Segmentation},
    booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
    year = {2016}
}
Downloads last month
-

Paper for shijli/davis2017