flowsat-c-data / README.md
Djisgod's picture
Add files using upload-large-folder tool
f031226 verified
|
Raw History Blame Contribute Delete
3.55 kB
metadata
license: other
license_name: research-preview
pretty_name: FlowSAT-C data (captions, manifests, generated fMoW test images)
task_categories:
  - text-to-image
tags:
  - remote-sensing
  - satellite-imagery
  - fmow
  - rsicd
size_categories:
  - 100K<n<1M
configs:
  - config_name: fmow_test_captions
    data_files: captions/fmow_test_captions.jsonl
  - config_name: rsicd_captions
    data_files: captions/rsicd_captions.jsonl
  - config_name: manifests
    data_files:
      - split: train
        path: manifests/train_cov.jsonl
      - split: validation
        path: manifests/val_cov.jsonl
      - split: test
        path: manifests/test_cov.jsonl

FlowSAT-C data

Data released with FlowSAT-C: our captions, the fMoW manifests (captions + metadata) used for training and testing, and the images FlowSAT-C (step 35k) generated for the fMoW test evaluation (FID 11.06).

No satellite imagery from fMoW or RSICD is included; the manifests point to the public fMoW-RGB release by relative path.

Contents

path what it is
manifests/train_cov.jsonl, val_cov.jsonl, test_cov.jsonl one record per fMoW-RGB image (354,292 / 6,989 / 52,806): image path relative to the fMoW-RGB root (train/..., test/...), our caption, and the metadata (location, date, ground sample distance, sun angles, cloud cover, sensor, terrain and land-cover covariates). Test records carry test_id = the fMoW-full test id.
captions/fmow_test_captions.jsonl our captions for 53,161 fMoW test images: {"id": "<sequence>/<sequence>_<n>_rgb", "caption"}.
captions/rsicd_captions.jsonl our captions for the 10,921 RSICD images: {"id", "v1_pos", "caption"}, in evaluation order.
generated/fmow_test/<sequence>/<stem>.png the 9,614 images (512 x 512, lossless PNG) FlowSAT-C 35k generated for the fMoW test evaluation.
eval/reference_ids.txt the 10,000 fMoW-full test images of the reference set, in scoring order.
eval/score_fmow.py, eval/requirements.txt, eval/expected_metrics.json standalone scorer, its pinned environment, and the expected numbers.

Download

pip install -U "huggingface_hub[cli]"
huggingface-cli download Djisgod/flowsat-c-data --repo-type dataset --local-dir flowsat-c-data

or, for the captions and manifests only:

from datasets import load_dataset
caps = load_dataset("Djisgod/flowsat-c-data", "fmow_test_captions")
man = load_dataset("Djisgod/flowsat-c-data", "manifests")

Reproduce FID 11.06 from the generated images

See the model card of Djisgod/flowsat-c-35k or Guide 2 of the GitHub README: download the fMoW-full test GeoTIFFs (first 2,300 sequences, public bucket, no account needed), install eval/requirements.txt, and run

cd eval
python score_fmow.py --fmow-test-root /path/to/fmow-full/test --reference-ids reference_ids.txt \
    --generated-dir ../generated/fmow_test --captions ../captions/fmow_test_captions.jsonl --out metrics.json

Expected: FID 11.06 (matched ids 11.21), CLIP score 30.17 (real images 30.00), SSIM 0.170, LPIPS 0.596, 9,999 real / 9,613 generated images.

Licence

To be announced with the paper. fMoW and RSICD keep their own licences; the manifests contain metadata derived from fMoW and public rasters, not imagery.