Datasets:
Download scripts/README.md from hotsightdataset/HotSight: direct link, hf CLI and curl.
- Browser
- Download file 1.45 kB
-
https://huggingface.co/datasets/hotsightdataset/HotSight/resolve/main/scripts/README.md
- Command line
-
hf download hf://datasets/hotsightdataset/HotSight/scripts/README.md
-
curl -L -o README.md https://huggingface.co/datasets/hotsightdataset/HotSight/resolve/main/scripts/README.md
Dataset scripts
Run these from the root directory. Use python scripts/<name>.py --help to see a script's options.
sample_dataset.py— samples synchronized RGB and IR frames from the original videos and writesData/samples.csv.make_random_splits.py— holds out one burn site for testing and writesData/splits.csv, randomly selecting a 10–20% validation while keeping related flight groups together. The releasedData/splits_graminoid.csvandData/splits_canopy.csvare its output for--test Graminoidand--test Canopy.filter_junk.py— removes sampled frame pairs that fall within the unusable video ranges listed inmarkdown/junk.md. It modifies the dataset in place.copy_metadata.py— copies masks and homographies fromAnnotationHomography/intoData/.recover_ir.py— creates_recovered.pngalternatives for IR frames affected by RGB/IR blending.resize_dataset.py— downscales sampled frame pairs by 2x and adjusts homographies for efficient training.make_mask_overlays.py— draws each mask over its RGB image for quick visual inspection.analyze_label_distribution.py— calculates per-clip mask-label percentages inannotation_label_by_clip.csv, passing--splits splits_graminoid.csv(orsplits_canopy.csv) also writesannotation_label_by_split.csv, released asannotation_label_by_split_graminoid.csvandannotation_label_by_split_canopy.csv.