Skip to content

Commit

Permalink
Added and updated CFC baseline configs
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkay committed Sep 19, 2023
1 parent db5d172 commit ea3975d
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 6 deletions.
2 changes: 1 addition & 1 deletion configs/Base-RCNN-FPN.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
_BASE_: "detectron2/Base-RCNN-FPN.yaml"
MODEL:
META_ARCHITECTURE: "DARCNN"
WEIGHTS: "models/model_final_f10217.pkl"
WEIGHTS: "detectron2://COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x/137849600/model_final_f10217.pkl" #"models/model_final_f10217.pkl"
MASK_ON: False
INPUT:
MIN_SIZE_TRAIN: (800, 832, 864, 896, 928, 960, 992, 1024)
Expand Down
3 changes: 3 additions & 0 deletions configs/cfc/cfc_baseline/Base-RCNN-FPN-CFC_strongaug_ema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ DATASETS:
BATCH_CONTENTS: ("labeled_strong", )
EMA:
ENABLED: True
SOLVER:
STEPS: (18000,)
MAX_ITER: 20000
OUTPUT_DIR: "output/cfc/cfc_baseline_strongaug_ema/"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ EMA:
AUG:
INCLUDE_RANDOM_ERASING: False
LABELED_MIC_AUG: True
OUTPUT_DIR: "output/cfc/cfc_baseline_strongaug_ema/"
SOLVER:
STEPS: (18000,)
MAX_ITER: 20000
OUTPUT_DIR: "output/cfc/cfc_baseline_strongaug_ema_mic/"
16 changes: 16 additions & 0 deletions configs/cfc/cfc_oracle_st/OracleST-RCNN-FPN-CFC.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
_BASE_: "../../Base-RCNN-FPN.yaml"
MODEL:
ROI_HEADS:
NUM_CLASSES: 1
DATASETS:
TRAIN: ("cfc_train", "cfc_channel_train",)
TEST: ("cfc_val", "cfc_channel_test",)
OUTPUT_DIR: "output/cfc/cfc_oracle_st/"

# rough numbers -- don't correspond to any specific number of epochs, just checking how we do
SOLVER:
STEPS: (10000,)
MAX_ITER: 12000
CHECKPOINT_PERIOD: 3000
TEST:
EVAL_PERIOD: 1250
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
_BASE_: "./OracleST-RCNN-FPN-CFC.yaml"
DATASETS:
BATCH_CONTENTS: ("labeled_strong", )
EMA:
ENABLED: True
SOLVER:
STEPS: (18000,)
MAX_ITER: 20000
OUTPUT_DIR: "output/cfc/cfc_oracle_st_strongaug_ema/"
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
_BASE_: "./OracleST-RCNN-FPN-CFC.yaml"
DATASETS:
BATCH_CONTENTS: ("labeled_strong", )
EMA:
ENABLED: True
AUG:
INCLUDE_RANDOM_ERASING: False
LABELED_MIC_AUG: True
SOLVER:
STEPS: (18000,)
MAX_ITER: 20000
OUTPUT_DIR: "output/cfc/cfc_oracle_st_strongaug_ema_mic/"
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ DATASETS:
BATCH_CONTENTS: ("labeled_strong", )
EMA:
ENABLED: True
SOLVER:
STEPS: (18000,)
MAX_ITER: 20000
OUTPUT_DIR: "output/cfc/cfc_oraclet_strongaug_ema/"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ EMA:
AUG:
INCLUDE_RANDOM_ERASING: False
LABELED_MIC_AUG: True
SOLVER:
STEPS: (18000,)
MAX_ITER: 20000
OUTPUT_DIR: "output/cfc/cfc_oraclet_strongaug_ema/"
7 changes: 3 additions & 4 deletions configs/sim10k/sim10k_baseline/Base-RCNN-FPN-Sim10k.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ OUTPUT_DIR: "output/sim10k/sim10k_baseline/"

# to start, try: double compared to Cityscapes train
SOLVER:
STEPS: (3000,) #(18000,)
MAX_ITER: 5000 #24000
CHECKPOINT_PERIOD: 3000
STEPS: (800,) #(18000,)
MAX_ITER: 1000 #5000 #24000
TEST:
EVAL_PERIOD: 312 # evaluate sooner; with 612 the best model was the first one
EVAL_PERIOD: 165 # evaluate sooner; with 312, 625 the best model was the first one

0 comments on commit ea3975d

Please sign in to comment.