themachinefan commited on
Commit
4d26bbd
1 Parent(s): 0eec1cb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +88 -1
README.md CHANGED
@@ -1,3 +1,90 @@
1
  ---
2
- license: mit
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ {}
3
  ---
4
+ ## Segmented ImageNet-1K Subset
5
+
6
+ A subset of ImageNet-1K that has instance segmentation annotations (classes, boxes, and masks), originally intended for use by the [ViT Prisma Library](https://github.com/soniajoseph/ViT-Prisma).
7
+
8
+ The annotations were autogenerated by [Grounded Segment Anything](https://github.com/IDEA-Research/Grounded-Segment-Anything).
9
+
10
+
11
+
12
+ The total size of the dataset is 12,000 images: 10,000 from ImageNet-1K train and 1,000 each from test and val.
13
+
14
+ ### Organization
15
+
16
+ Images are organized in the same structure as ImageNet-1K:
17
+
18
+ ```
19
+ images/
20
+ train_images/
21
+ val_images/
22
+ test_images/
23
+ ```
24
+
25
+ The train and val ImageNet classes can be identified from the filenames. See [imagenet-1k classes](https://huggingface.co/datasets/imagenet-1k/blob/main/classes.py).
26
+
27
+ Annotations are stored in a similar manner:
28
+
29
+ ```
30
+ annotations/
31
+ train_annotations/
32
+ masks/
33
+ boxes/
34
+ val_annotations/
35
+ masks/
36
+ boxes/
37
+ test_annotations/
38
+ masks/
39
+ boxes/
40
+ ```
41
+
42
+ `masks` contains `.npy` files (shape NUM_BOXES, H, W), and `boxes` contains `.json` files organized as follows:
43
+
44
+ ```json
45
+ {
46
+ "classes": ["aquarium", "goldfish", "goldfish"],
47
+ "boxes": [[3, 2, 1160, 564], [1, 131, 447, 547], [3, 2, 1159, 564]],
48
+ "scores": [0.48, 0.4, 0.27]
49
+ }
50
+ ```
51
+ The filenames match the corresponding images.
52
+ ### Citation
53
+
54
+ Please consider citing this dataset if used in your research:
55
+
56
+ ```bibtex
57
+ @misc{segmented_imagenet1k_subset_2024,
58
+ author = {ViT-Prisma Contributors},
59
+ title = {Segmented ImageNet-1k Subset},
60
+ url = {https://huggingface.co/datasets/Prisma-Multimodal/segmented-imagenet1k-subset},
61
+ version = {1.0.0},
62
+ date = {2024-04-02},
63
+ }
64
+ ```
65
+
66
+ Grounded Segment Anything and Imagenet can be cited as follows:
67
+ ```bibtex
68
+ @software{grounded_segment_anything,
69
+ author = {Grounded-SAM Contributors},
70
+ title = {Grounded-Segment-Anything},
71
+ url = {https://github.com/IDEA-Research/Grounded-Segment-Anything},
72
+ version = {1.2.0},
73
+ date = {2023-04-06},
74
+ license = {Apache-2.0},
75
+ message = {If you use this software, please cite it as below.}
76
+ }
77
+ ```
78
+
79
+ ```bibtex
80
+ @article{imagenet15russakovsky,
81
+ Author = {Olga Russakovsky and Jia Deng and Hao Su and Jonathan Krause and Sanjeev Satheesh and Sean Ma and Zhiheng Huang and Andrej Karpathy and Aditya Khosla and Michael Bernstein and Alexander C. Berg and Li Fei-Fei},
82
+ Title = { {ImageNet Large Scale Visual Recognition Challenge} },
83
+ Year = {2015},
84
+ journal = {International Journal of Computer Vision (IJCV)},
85
+ doi = {10.1007/s11263-015-0816-y},
86
+ volume={115},
87
+ number={3},
88
+ pages={211-252}
89
+ }
90
+ ```