claude_refactor_v3: De-duplicate gin-configs, + "in/config_files" with common and cpecific experiment-presets gins
This commit is contained in:
20
in/config_files/preprocess/preprocess.gin
Normal file
20
in/config_files/preprocess/preprocess.gin
Normal file
@@ -0,0 +1,20 @@
|
||||
# Preprocessing config used by scripts/make_split.py and
|
||||
# scripts/filter_segmentation.py. Independent from training pipeline.
|
||||
|
||||
# Inputs.
|
||||
PreprocessConfig.rgb_root = '/home/servml/Документы/datasets/GTA-UAV-LR'
|
||||
PreprocessConfig.segm_root = '/home/servml/Документы/datasets/GTA-UAV-LR-aug/segm'
|
||||
|
||||
# make_split.py — 80/20 split with seed=42.
|
||||
PreprocessConfig.split_ratio = 0.8
|
||||
PreprocessConfig.split_seed = 42
|
||||
PreprocessConfig.split_input_train = 'cross-area-drone2sate-train.json'
|
||||
PreprocessConfig.split_input_test = 'cross-area-drone2sate-test.json'
|
||||
PreprocessConfig.split_output_dir = 'meta'
|
||||
PreprocessConfig.split_output_train = 'train_80.json'
|
||||
PreprocessConfig.split_output_test = 'test_20.json'
|
||||
|
||||
# filter_segmentation.py — exclude images with >=90% background+water.
|
||||
PreprocessConfig.seg_threshold = 0.90
|
||||
PreprocessConfig.seg_exclude_classes = [0, 4]
|
||||
PreprocessConfig.seg_filter_output = 'meta/seg_filter.json'
|
||||
Reference in New Issue
Block a user