Supermaxman
commited on
Commit
•
50bae74
1
Parent(s):
a0eb60d
Update README.md
Browse filesUpdated README.md with proper format
README.md
CHANGED
@@ -76,11 +76,43 @@ size_categories:
|
|
76 |
---
|
77 |
# Dataset Card for ESA Hubble Deep Space Images & Captions
|
78 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
The ESA Hubble Deep Space Images & Captions dataset is composed primarily of Hubble deep space scans as high-resolution images,
|
80 |
along with textual descriptions written by ESA/Hubble. Metadata is also included, which enables more detailed filtering and understanding of massive space scans.
|
81 |
The purpose of this dataset is to enable text-to-image generation methods for generating high-quality deep space scans from prompts.
|
82 |
|
83 |
-
|
84 |
|
85 |
![opo9941a](https://cdn.spacetelescope.org/archives/images/thumb700x/opo9941a.jpg)
|
86 |
> A grazing encounter between two spiral galaxies: In the direction of the constellation Canis Major, two spiral galaxies pass by each other like majestic ships in the night. The near-collision has been caught in images taken by the NASA/ESA Hubble Space Telescope and its Wide Field Planetary Camera 2.
|
@@ -103,16 +135,104 @@ The purpose of this dataset is to enable text-to-image generation methods for ge
|
|
103 |
> Credit: NASA, ESA and the Hubble Heritage (STScI/AURA)-ESA/Hubble Collaboration
|
104 |
|
105 |
|
106 |
-
|
107 |
|
108 |
* There are a total of 2,706 deep space images
|
109 |
* The complete uncompressed size of the dataset is 120 GB, so definitely make use of [Streaming](https://huggingface.co/docs/datasets/stream)
|
110 |
* The average image is 44 MB, while the max image size is 432 MB
|
111 |
* The average image has a height of 2,881 pixels, and an average width of 3,267 pixels
|
112 |
|
|
|
|
|
113 |
|
114 |
-
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
All images were collected from [https://esahubble.org/](https://esahubble.org/).
|
117 |
Fullsize Original images & metadata were crawled from the ESA Hubble website using [Scrapy](https://scrapy.org/).
|
118 |
Images were downloaded as `.tiff` files with the following [code](https://github.com/Supermaxman/SpaceGAN), while
|
@@ -130,7 +250,7 @@ This reduced significantly the number of images which had nothing to do with Hub
|
|
130 |
A total of around 3,000 space images were collected with this method.
|
131 |
|
132 |
|
133 |
-
|
134 |
|
135 |
Further automatic and manual filtering was performed to remove the following:
|
136 |
* improperly classified images
|
@@ -144,7 +264,7 @@ This process was not perfect, and there likely remain some images in the dataset
|
|
144 |
|
145 |
|
146 |
|
147 |
-
|
148 |
|
149 |
Some of the deep space scans were as large as 34,372x19,345, with a bit depth of 24 (nearly 2 GB).
|
150 |
Unfortunately, these images were too large to upload easily.
|
@@ -154,15 +274,59 @@ Otherwise, metadata was copied across subdivided images.
|
|
154 |
Additionally, images were converted from RGB/RGBX `.tiff` to RGB `.png` files to avoid encoding issues.
|
155 |
This process resulted in 2,706 final deep space images.
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
|
158 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
|
160 |
ESA/Hubble images, videos and web texts are released under the [Creative Commons Attribution 4.0 International license](https://creativecommons.org/licenses/by/4.0/)
|
161 |
and may on a non-exclusive basis be reproduced without fee provided they are clearly and visibly credited.
|
162 |
See [https://esahubble.org/copyright/](https://esahubble.org/copyright/) for additional conditions for reproduction and copyright.
|
163 |
|
164 |
|
165 |
-
|
166 |
|
167 |
If you use this dataset, please cite it as:
|
168 |
|
@@ -174,3 +338,7 @@ If you use this dataset, please cite it as:
|
|
174 |
howpublished= {\url{https://huggingface.co/datasets/Supermaxman/esa-hubble}}
|
175 |
}
|
176 |
```
|
|
|
|
|
|
|
|
|
|
76 |
---
|
77 |
# Dataset Card for ESA Hubble Deep Space Images & Captions
|
78 |
|
79 |
+
## Table of Contents
|
80 |
+
- [Dataset Description](#dataset-description)
|
81 |
+
- [Dataset Summary](#dataset-summary)
|
82 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
83 |
+
- [Languages](#languages)
|
84 |
+
- [Dataset Structure](#dataset-structure)
|
85 |
+
- [Data Instances](#data-instances)
|
86 |
+
- [Data Fields](#data-fields)
|
87 |
+
- [Data Splits](#data-splits)
|
88 |
+
- [Dataset Creation](#dataset-creation)
|
89 |
+
- [Curation Rationale](#curation-rationale)
|
90 |
+
- [Source Data](#source-data)
|
91 |
+
- [Annotations](#annotations)
|
92 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
93 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
94 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
95 |
+
- [Discussion of Biases](#discussion-of-biases)
|
96 |
+
- [Other Known Limitations](#other-known-limitations)
|
97 |
+
- [Additional Information](#additional-information)
|
98 |
+
- [Dataset Curators](#dataset-curators)
|
99 |
+
- [Licensing Information](#licensing-information)
|
100 |
+
- [Citation Information](#citation-information)
|
101 |
+
- [Contributions](#contributions)
|
102 |
+
|
103 |
+
## Dataset Description
|
104 |
+
|
105 |
+
- **Homepage:** [ELI5 homepage](https://facebookresearch.github.io/ELI5/explore.html)
|
106 |
+
- **Repository:** [ELI5 repository](https://github.com/facebookresearch/ELI5)
|
107 |
+
- **Paper:** [ELI5: Long Form Question Answering](https://arxiv.org/abs/1907.09190)
|
108 |
+
- **Point of Contact:** [Yacine Jernite](mailto:yacine@huggingface.co)
|
109 |
+
|
110 |
+
### Dataset Summary
|
111 |
The ESA Hubble Deep Space Images & Captions dataset is composed primarily of Hubble deep space scans as high-resolution images,
|
112 |
along with textual descriptions written by ESA/Hubble. Metadata is also included, which enables more detailed filtering and understanding of massive space scans.
|
113 |
The purpose of this dataset is to enable text-to-image generation methods for generating high-quality deep space scans from prompts.
|
114 |
|
115 |
+
#### Examples
|
116 |
|
117 |
![opo9941a](https://cdn.spacetelescope.org/archives/images/thumb700x/opo9941a.jpg)
|
118 |
> A grazing encounter between two spiral galaxies: In the direction of the constellation Canis Major, two spiral galaxies pass by each other like majestic ships in the night. The near-collision has been caught in images taken by the NASA/ESA Hubble Space Telescope and its Wide Field Planetary Camera 2.
|
|
|
135 |
> Credit: NASA, ESA and the Hubble Heritage (STScI/AURA)-ESA/Hubble Collaboration
|
136 |
|
137 |
|
138 |
+
#### Statistics
|
139 |
|
140 |
* There are a total of 2,706 deep space images
|
141 |
* The complete uncompressed size of the dataset is 120 GB, so definitely make use of [Streaming](https://huggingface.co/docs/datasets/stream)
|
142 |
* The average image is 44 MB, while the max image size is 432 MB
|
143 |
* The average image has a height of 2,881 pixels, and an average width of 3,267 pixels
|
144 |
|
145 |
+
### Supported Tasks and Leaderboards
|
146 |
+
- `text-to-image`: The dataset can be used to train a model for conditional image generation from text. A conditional text-to-image generation model is presented with a text prompt, and is asked to generate an image which aligns with that text prompt. Model performance is typically measured by human judgement, as it is difficult to automatically measure the quality of generated images and how closely they match the text prompt. An example of a text-to-image model is [Stable Diffusion v2-1](stabilityai/stable-diffusion-2-1).
|
147 |
|
148 |
+
### Languages
|
149 |
|
150 |
+
The text in the dataset is in English, as written by the writers from ESA/Hubble at [https://esahubble.org/](https://esahubble.org/). The associated BCP-47 code is `en`.
|
151 |
+
|
152 |
+
|
153 |
+
## Dataset Structure
|
154 |
+
|
155 |
+
### Data Instances
|
156 |
+
|
157 |
+
A typical data point comprises a high-quality deep space scan as an image, along with a textual description of that image produced by ESA/Hubble.
|
158 |
+
The textual description was derived by combining the `title` and the `description` of the image from the ESA/Hubble website.
|
159 |
+
Additionally, each data point also contains significant metadata about the image, such as the type of image, credits, the URL, the release date, and more.
|
160 |
+
|
161 |
+
|
162 |
+
An example looks as follows:
|
163 |
+
```
|
164 |
+
{
|
165 |
+
'image': <encoded image>,
|
166 |
+
"text":"A grazing encounter between two spiral galaxies: In the direction of the constellation Canis Major, two spiral galaxies pass by each other like majestic ships in the night. The near-collision has been caught in images taken by the NASA/ESA Hubble Space Telescope and its Wide Field Planetary Camera 2.",
|
167 |
+
"id":"opo9941a",
|
168 |
+
"title":"A grazing encounter between two spiral galaxies",
|
169 |
+
"description":"In the direction of the constellation Canis Major, two spiral galaxies pass by each other like majestic ships in the night. The near-collision has been caught in images taken by the NASA/ESA Hubble Space Telescope and its Wide Field Planetary Camera 2.",
|
170 |
+
"credits":"NASA/ESA and The Hubble Heritage Team (STScI)",
|
171 |
+
"url":"https://esahubble.org/images/opo9941a/",
|
172 |
+
"Id":"opo9941a",
|
173 |
+
"Type":"Local Universe : Galaxy : Type : Interacting",
|
174 |
+
"Release date":"4 November 1999, 07:00",
|
175 |
+
"Size":"2907 x 1486 px",
|
176 |
+
"Name":"IC 2163, NGC 2207",
|
177 |
+
"Distance":"110 million light years",
|
178 |
+
"Constellation":"Canis Major",
|
179 |
+
"Category":"Galaxies",
|
180 |
+
"Position (RA)":"6 16 25.10",
|
181 |
+
"Position (Dec)":"-21° 22' 34.62\"",
|
182 |
+
"Field of view":"4.82 x 2.47 arcminutes",
|
183 |
+
"Orientation":"North is 191.2\u00b0 right of vertical",
|
184 |
+
"width":2907,
|
185 |
+
"height":1486,
|
186 |
+
"file_size":12959406,
|
187 |
+
"crop_w":0,
|
188 |
+
"crop_h":0,
|
189 |
+
"cropped":false
|
190 |
+
}
|
191 |
+
```
|
192 |
+
|
193 |
+
### Data Fields
|
194 |
+
|
195 |
+
- `image`: encoded RGB `.png` image of the deep space scan
|
196 |
+
- `text`: text description of image, a combination of `title` + ': ' + `description`
|
197 |
+
- `id`: id of the image from ESA/Hubble
|
198 |
+
- `title`: textual title of image from ESA/Hubble URL
|
199 |
+
- `description`: textual description of image from ESA/Hubble URL
|
200 |
+
- `credits`: required credits for each image from ESA/Hubble URL
|
201 |
+
- `url`: ESA/Hubble URL
|
202 |
+
- `Id`: id of the image from ESA/Hubble (from website metadata)
|
203 |
+
- `Type`: type of deep space scan
|
204 |
+
- `Release date`: release date of deep space scan
|
205 |
+
- `Size`: size of original image
|
206 |
+
- `Name`: name of celestial entities present in image
|
207 |
+
- `Distance`: distance from celestial entities present in image
|
208 |
+
- `Constellation`: constellation of celestial entities present in image
|
209 |
+
- `Category`: category of celestial entities present in image
|
210 |
+
- `Position (RA)`: coordinates for deep space scan used by Hubble telescope
|
211 |
+
- `Position (Dec)`: coordinates for deep space scan used by Hubble telescope
|
212 |
+
- `Field of view`: coordinates for deep space scan used by Hubble telescope
|
213 |
+
- `Orientation`: coordinates for deep space scan used by Hubble telescope
|
214 |
+
- `width`: width of image, same if the image did not need to be cropped, but otherwise could differ from `Size`
|
215 |
+
- `height`: height of image, same if the image did not need to be cropped, but otherwise could differ from `Size`
|
216 |
+
- `file_size`: `width` x `height` x 3 bytes, used to estimate size of raw images
|
217 |
+
- `crop_w`: width starting point of image if cropped, otherwise 0
|
218 |
+
- `crop_h`: height starting point of image if cropped, otherwise 0
|
219 |
+
- `cropped`: whether this image needed to be cropped or not
|
220 |
+
|
221 |
+
|
222 |
+
### Data Splits
|
223 |
+
|
224 |
+
The data is only provided in a single training split.
|
225 |
+
|
226 |
+
|
227 |
+
## Dataset Creation
|
228 |
+
|
229 |
+
### Curation Rationale
|
230 |
+
The ESA Hubble Deep Space Images & Captions dataset was built to provide ease of access to extremely high-quality Hubble deep space scans.
|
231 |
+
Images from the Hubble telescope have already inspired millions, and the hope is that this dataset can be used to create inspiring models and approaches to further push interest in space & cosmology.
|
232 |
+
|
233 |
+
### Source Data
|
234 |
+
|
235 |
+
#### Initial Data Collection
|
236 |
All images were collected from [https://esahubble.org/](https://esahubble.org/).
|
237 |
Fullsize Original images & metadata were crawled from the ESA Hubble website using [Scrapy](https://scrapy.org/).
|
238 |
Images were downloaded as `.tiff` files with the following [code](https://github.com/Supermaxman/SpaceGAN), while
|
|
|
250 |
A total of around 3,000 space images were collected with this method.
|
251 |
|
252 |
|
253 |
+
#### Filtering
|
254 |
|
255 |
Further automatic and manual filtering was performed to remove the following:
|
256 |
* improperly classified images
|
|
|
264 |
|
265 |
|
266 |
|
267 |
+
#### Preprocessing
|
268 |
|
269 |
Some of the deep space scans were as large as 34,372x19,345, with a bit depth of 24 (nearly 2 GB).
|
270 |
Unfortunately, these images were too large to upload easily.
|
|
|
274 |
Additionally, images were converted from RGB/RGBX `.tiff` to RGB `.png` files to avoid encoding issues.
|
275 |
This process resulted in 2,706 final deep space images.
|
276 |
|
277 |
+
### Annotations
|
278 |
+
|
279 |
+
The dataset does not contain any additional annotations.
|
280 |
+
|
281 |
+
#### Annotation process
|
282 |
+
|
283 |
+
[N/A]
|
284 |
+
|
285 |
+
#### Who are the annotators?
|
286 |
+
|
287 |
+
[N/A]
|
288 |
+
|
289 |
+
### Personal and Sensitive Information
|
290 |
+
|
291 |
+
[N/A]
|
292 |
+
|
293 |
+
## Considerations for Using the Data
|
294 |
|
295 |
+
### Social Impact of Dataset
|
296 |
+
|
297 |
+
The purpose of this dataset is to help inspire people to be interested in astronomy.
|
298 |
+
|
299 |
+
A system that succeeds at text-to-image generation would be able to generate inspiring deep space scans, providing interesting and inspiring art for those interested in space. This dataset provides a starting-point for building such a system by providing text and image pairs for Hubble deep space scans.
|
300 |
+
|
301 |
+
### Discussion of Biases
|
302 |
+
|
303 |
+
It is unfortunate that we currently only have English captions for these deep space scans.
|
304 |
+
In the future, expanding these captions to more languages could help spread interest in astronomy far and wide.
|
305 |
+
|
306 |
+
|
307 |
+
Additionally, these captions may be too technical for the average person to effectively utilize for a text-to-image model.
|
308 |
+
|
309 |
+
|
310 |
+
### Other Known Limitations
|
311 |
+
|
312 |
+
[N/A]
|
313 |
+
|
314 |
+
## Additional Information
|
315 |
+
|
316 |
+
### Dataset Curators
|
317 |
+
|
318 |
+
The dataset was initially created by all the wonderful researchers, engineers, scientists, and more behind the Hubble Telescope, NASA, and the ESA.
|
319 |
+
Maxwell Weinzierl collected, filtered, and preprocessed this data for ease of use.
|
320 |
+
|
321 |
+
|
322 |
+
### Licensing Information
|
323 |
|
324 |
ESA/Hubble images, videos and web texts are released under the [Creative Commons Attribution 4.0 International license](https://creativecommons.org/licenses/by/4.0/)
|
325 |
and may on a non-exclusive basis be reproduced without fee provided they are clearly and visibly credited.
|
326 |
See [https://esahubble.org/copyright/](https://esahubble.org/copyright/) for additional conditions for reproduction and copyright.
|
327 |
|
328 |
|
329 |
+
### Citation Information
|
330 |
|
331 |
If you use this dataset, please cite it as:
|
332 |
|
|
|
338 |
howpublished= {\url{https://huggingface.co/datasets/Supermaxman/esa-hubble}}
|
339 |
}
|
340 |
```
|
341 |
+
|
342 |
+
### Contributions
|
343 |
+
|
344 |
+
Thanks to [@supermaxman](https://github.com/supermaxman) for adding this dataset.
|