The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: TypeError
Message: Mask must be a pyarrow.Array of type boolean
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1586, in _prepare_split_single
writer.write(example, key)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 553, in write
self.write_examples_on_file()
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 511, in write_examples_on_file
self.write_batch(batch_examples=batch_examples)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 631, in write_batch
self.write_table(pa_table, writer_batch_size)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 646, in write_table
pa_table = embed_table_storage(pa_table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2248, in embed_table_storage
arrays = [
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2249, in <listcomp>
embed_array_storage(table[name], feature, token_per_repo_id=token_per_repo_id)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1795, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1795, in <listcomp>
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2124, in embed_array_storage
return feature.embed_storage(array, token_per_repo_id=token_per_repo_id)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/image.py", line 292, in embed_storage
storage = pa.StructArray.from_arrays([bytes_array, path_array], ["bytes", "path"], mask=bytes_array.is_null())
File "pyarrow/array.pxi", line 3257, in pyarrow.lib.StructArray.from_arrays
File "pyarrow/array.pxi", line 3697, in pyarrow.lib.c_mask_inverted_from_obj
TypeError: Mask must be a pyarrow.Array of type boolean
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1595, in _prepare_split_single
num_examples, num_bytes = writer.finalize()
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 658, in finalize
self.write_examples_on_file()
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 511, in write_examples_on_file
self.write_batch(batch_examples=batch_examples)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 631, in write_batch
self.write_table(pa_table, writer_batch_size)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 646, in write_table
pa_table = embed_table_storage(pa_table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2248, in embed_table_storage
arrays = [
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2249, in <listcomp>
embed_array_storage(table[name], feature, token_per_repo_id=token_per_repo_id)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1795, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1795, in <listcomp>
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2124, in embed_array_storage
return feature.embed_storage(array, token_per_repo_id=token_per_repo_id)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/image.py", line 292, in embed_storage
storage = pa.StructArray.from_arrays([bytes_array, path_array], ["bytes", "path"], mask=bytes_array.is_null())
File "pyarrow/array.pxi", line 3257, in pyarrow.lib.StructArray.from_arrays
File "pyarrow/array.pxi", line 3697, in pyarrow.lib.c_mask_inverted_from_obj
TypeError: Mask must be a pyarrow.Array of type boolean
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1451, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 994, in stream_convert_to_parquet
builder._prepare_split(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1447, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1604, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
image
image | label
class label |
|---|---|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
0ngc0869
|
|
1ngc0896
|
|
1ngc0896
|
|
1ngc0896
|
|
1ngc0896
|
|
1ngc0896
|
|
1ngc0896
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
|
2ngc7000
|
Dataset Card for Dataset Name
We provide here datasets to help in building classification for quality of astronomical images. It is inspired from the publication Assessment of Astronomical Images Using Combined Machine-learning Models. Authors of the publication did not provide access to the datasets used. We provide 2 different datasets:
- raw dataset: astronomical images with LDAC files containing features extracted with the tool SExtractor,
- processed dataset: catalogs of features usable as inputs for modeling.
These datasets are part of the project astro_iqa.
Raw Dataset Details
Dataset Description
Raw data sources are a compilation of images captured by the MegaCam camera at the Canada-France-Hawaii Telescope, and captured with my personal telescope/camera. Features are extracted from images by using the software SExtractor. For each FITS file present in the directory "./data/raw", the software will produce a LDAC file in the format "FITS_1.0". Each image is associated to one LDAC file.
- Curated by: [selfmaker]
- Funded by [selfmaker]:
- Shared by [selfmaker]:
- License: [CC-BY-NC-SA-4.0]
Dataset Sources
- Repository: [./raw]
- Demo: [For usage details, see the notebooks SOM_datasets_preparation and dnn_datasets_preparation in the github project repo]
Processed Dataset Details
Dataset Description
The dataset is composed of feature catalogs and image annotations.
The catalogs are built by combining all the LDAC files produced by the SExtractor software. For each object, SExtractor is used to output the following features:
X and Y coordinates of the object in the image,
ISO0,
ELONGATION,
ELLIPTICITY,
CLASS_STAR,
BACKGROUND. The exposure time of the image is also added to the catalog as it can significantly affect the quality and characteristics of the detected sources.
Curated by: [selfmaker]
Funded by [selfmaker]:
Shared by [selfmaker]:
License: [CC-BY-NC-SA-4.0]
Dataset Sources
- Repository: [./for_modeling]
- Demo: [For usage details, see the notebooks SOM_datasets_preparation, dnn_datasets_preparation and datasets_verifiation in the github project repo]
Annotations follow the COCO format: "info": { ... }, "images": [ filenames, ... ], "categories": [ "GOOD", "B_SEEING", "BGP", "BT", "RBT" ], "annotations": { ... } Annotations files are located in the fold "data/for_modeling". The ones used to compose the current dataset are:
- map_images_labels_cadc2.json
- map_images_labels_ngc0869.json
- map_images_labels_ngc0896.json
- 8595 map_images_labels_ngc7000.json
Annotations are already reported in the parquet files.
To built tensorflow datasets from the parquet catalogs see the github project repo: https://github.com/mfournigault/astro_iqa.
Uses
These datasets aim to develop a quality assessment tool for astronomical images. Given an astronomical image, to classify the image between categories: good, bad tracking, very bad tracking, bad seeing, or background issues. This classification can then be used:
- during image capturing with a telescope to warn the user of potential issues,
- during image stacking to discard bad images of bad quality, and so enable a stacking pipeline completely automated. For usage details, see the notebooks SOM_datasets_preparation, dnn_datasets_preparation and datasets_verification in the github project repo
Dataset Structure
See the project documentation for a complete description of dataset structures..
More Information [optional]
For more information, see the documentation of the project astro_iqa.
- Downloads last month
- 9