TerraMind-HYPERVIEW / run_train_test.sh
KPLabs's picture
Rename run_train_then_test.sh to run_train_test.sh
c6f38de verified
#!/usr/bin/env bash
set -euo pipefail
# Train
terratorch fit -c configs/terramind_v1_base_hyperview_upernet_none.yaml
python3 prepare_submission.py \
--model_dir runs/terratorch_hyperview_upernet_none \
--config configs/terramind_v1_base_hyperview_upernet_none.yaml \
--output_dir submissions/upernet_none
terratorch fit -c configs/terramind_v1_base_hyperview_upernet_none_small.yaml
python3 prepare_submission.py \
--model_dir runs/terratorch_hyperview_upernet_none_small \
--config configs/terramind_v1_base_hyperview_upernet_none_small.yaml \
--output_dir submissions/upernet_none_small
terratorch fit -c configs/terramind_v1_base_hyperview_upernet_none_big.yaml
python3 prepare_submission.py \
--model_dir runs/terratorch_hyperview_upernet_none_big \
--config configs/terramind_v1_base_hyperview_upernet_none_big.yaml \
--output_dir submissions/upernet_none_big
terratorch fit -c configs/terramind_v1_base_hyperview_unet_none.yaml
python3 prepare_submission.py \
--model_dir runs/terratorch_hyperview_unet_none \
--config configs/terramind_v1_base_hyperview_unet_none.yaml \
--output_dir submissions/unet_none
python3 prepare_submission.py \
--model_dir runs/terratorch_hyperview_upernet_none \
--config configs/terramind_v1_base_hyperview_upernet_none_i1.yaml \
--output_dir submissions/upernet_none_i1
python3 prepare_submission.py \
--model_dir /mnt/d/new_runs_decoder_v2/backbone_name_terramind_v1_base_decoder_name_UperNetDecoder_output_size_4_mask_none_fill_last_with_150_True_target_scaling_std_batch_size_64_epochs_100_lr_5e-05 \
--config configs/terramind_v1_base_hyperview_upernet_none.yaml \
--output_dir submissions/upernet_none_external
python3 prepare_submission.py \
--model_dir /mnt/d/new_runs_decoder_v2/backbone_name_terramind_v1_base_decoder_name_UperNetDecoder_output_size_4_mask_none_fill_last_with_150_True_target_scaling_std_batch_size_64_epochs_100_lr_5e-05 \
--config configs/terramind_v1_base_hyperview_upernet_none_i1.yaml \
--output_dir submissions/upernet_none_i1_external
python3 prepare_submission.py \
--model_dir /mnt/d/new_runs_decoder_v2/backbone_name_terramind_v1_base_decoder_name_UperNetDecoder_output_size_4_mask_none_fill_last_with_150_True_target_scaling_std_batch_size_64_epochs_100_lr_5e-05 \
--config configs/terramind_v1_base_hyperview_upernet_none_enmap_20231109T101043Z.yaml \
--output_dir submissions/upernet_none_enmap_20231109T101043Z_external
python3 prepare_submission.py \
--model_dir runs/terratorch_hyperview_upernet_none \
--config configs/terramind_v1_base_hyperview_upernet_none_enmap_20231109T101043Z.yaml \
--output_dir submissions/upernet_none_enmap_20231109T101043Z