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
1.45 kB
| # 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 writes `Data/samples.csv`. | |
| - `make_random_splits.py` — holds out one burn site for testing and writes `Data/splits.csv`, randomly selecting a 10–20% validation while keeping related flight groups together. The released `Data/splits_graminoid.csv` and `Data/splits_canopy.csv` are its output for `--test Graminoid` and `--test Canopy`. | |
| - `filter_junk.py` — removes sampled frame pairs that fall within the unusable video ranges listed in `markdown/junk.md`. It modifies the dataset in place. | |
| - `copy_metadata.py` — copies masks and homographies from `AnnotationHomography/` into `Data/`. | |
| - `recover_ir.py` — creates `_recovered.png` alternatives 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 in `annotation_label_by_clip.csv`, passing `--splits splits_graminoid.csv` (or `splits_canopy.csv`) also writes `annotation_label_by_split.csv`, released as `annotation_label_by_split_graminoid.csv` and `annotation_label_by_split_canopy.csv`. |