Downloading Guide
You can download with your web browser on the file page.
We recommand downloading in terminal using huggingface_hub (pip install --upgrade huggingface_hub
). You can refer to the document for more usages.
# Set Huggingface Mirror for Chinese users (if required):
export HF_ENDPOINT=https://hf-mirror.com
# Download the whole folder (you can also modify local-dir with your data path and make soft link here):
huggingface-cli download Qingyun/remote-sensing-sft-data --repo-type dataset --local-dir playground/data/
# If any error (such as network error) interrupts the downloading, you just need to execute the same command, the latest huggingface_hub will resume downloading.
If you already download some data, you can also exclude them to save time. For example, you can exclude DOTA(split_ss_dota) trainval images with the --exclude
option. You can also only download certain file with the position arg filenames
or the --include
option.
# This will exclude the files and just download the others.
huggingface-cli download Qingyun/remote-sensing-sft-data --repo-type dataset --local-dir playground/data --exclude **split_ss_dota_trainval**
# This will download the file and should put it in the folder.
huggingface-cli download Qingyun/remote-sensing-sft-data split_ss_dota/trainval/split_ss_dota_trainval_annfiles.tar.gz --repo-type dataset --local-dir playground/data
# This will download the files and put them like the arrangement in the repo.
huggingface-cli download Qingyun/remote-sensing-sft-data --repo-type dataset --local-dir playground/data --include **split_ss_dota_trainval**
Then, extract all files from the compressed files. (merge xxx.tar.gz.partx
and uncompress all xxx.tar.gz
)
find . \( -name "*.tar.gz" -o -name "*.part0" \) -execdir bash -c '[[ "{}" =~ \.part0$ ]] && { base="${{}%.part0}"; cat ${base}.part* | tar -zxvf -; } || tar -zxvf {}' \;
At last, if required, you can delete all the compressed files.
# list the files to delete for checking (if required)
find . -type f -name "*.tar.gz*" -print
# delete
find . -type f -name "*.tar.gz*" -exec rm -f {} \;
Statement and ToU
We release the data under a CC-BY-4.0 license, with the primary intent of supporting research activities. We do not impose any additional using limitation, but the users must comply with the terms of use (ToUs) of the source dataset. This dataset is a processed version, intended solely for academic sharing by the owner, and does not involve any commercial use or other violations of the ToUs. Any usage of this dataset by users should be regarded as usage of the original dataset. If there are any concerns regarding potential copyright infringement in the release of this dataset, please contact me, and I will remove any data that may pose a risk.
- Downloads last month
- 27