The dataset viewer is not available for this subset.
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 289, in get_dataset_config_info
for split_generator in builder._split_generators(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/hdf5/hdf5.py", line 64, in _split_generators
with h5py.File(first_file, "r") as h5:
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/h5py/_hl/files.py", line 564, in __init__
fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/h5py/_hl/files.py", line 238, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "h5py/_objects.pyx", line 56, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 57, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 102, in h5py.h5f.open
FileNotFoundError: [Errno 2] Unable to synchronously open file (unable to open file: name = 'gzip://training.h5::hf://datasets/zhu-xlab/So2Sat-LCZ42@2a2d14d82bc2aac4611ed040d5e6697953a375d1/v4/training.h5.gz', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)
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/split_names.py", line 65, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 343, in get_dataset_split_names
info = get_dataset_config_info(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/inspect.py", line 294, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
So2Sat-LCZ42
A copy of the Fourth version of the So2Sat-LCZ42 dataset, pairing the second version (culture-10) with geolocation:
Training: 42 cities around the world
Validation: western half of 10 other cities covering 10 cultural zones
Testing: eastern half of the 10 other cities
Description of the files
First extract [split].h5.gz to [split].h5 with gunzip [split].h5.gz.
training.h5: training data containing SEN1, SEN2 patches and label
sen1: N*32*32*8
sen2: N*32*32*10
label: N*17 (one-hot coding)
validation.h5: validation data containing similar SEN1, SEN2, and label
sen1: M*32*32*8
sen2: M*32*32*10
label: M*17 (one-hot coding)
testing.h5: testing data containing SEN1 and SEN2 patches and label
sen1: L*32*32*8
sen2: L*32*32*10
label: L*17 (one-hot coding)
training_geo.h5: geolocation for the training data
coord: N*6 # UTM X, UTM Y, SEN1 row number, SEN1 col number, SEN2 row number, SEN2 col number
epsg: N*1 # EPSG code
tfw: N*6 # six parameters used to generate a TFW file
validation_geo.h5: geolocation for the validation data
coord: M*6
epsg: M*1
tfw: M*6
testing_geo.h5: geolocation for the testing data
coord: L*6
epsg: L*1
tfw: L*6
read_file.py: a demo python script to read in the files, and visualize a pair of patches Required python packages: h5py, numpy, and matplotlib.
Please visit https://github.com/zhu-xlab/So2Sat-LCZ42 for more details, including a demo notebook to generate geotiffs from h5 files.
Citation
@ARTICLE{Zhu2020So2Sat,
author={Zhu, Xiao Xiang and Hu, Jingliang and Qiu, Chunping and Shi, Yilei and Kang, Jian and Mou, Lichao and Bagheri, Hossein and Haberle, Matthias and Hua, Yuansheng and Huang, Rong and Hughes, Lloyd and Li, Hao and Sun, Yao and Zhang, Guichen and Han, Shiyao and Schmitt, Michael and Wang, Yuanyuan},
journal={IEEE Geoscience and Remote Sensing Magazine},
title={So2Sat LCZ42: A Benchmark Data Set for the Classification of Global Local Climate Zones [Software and Data Sets]},
year={2020},
volume={8},
number={3},
pages={76-89},
doi={10.1109/MGRS.2020.2964708}}
- Downloads last month
- 48