PhishIntention / AWL_detector_utils /configs /faster_rcnn_web_lr0.01.yaml
Kelsey98's picture
Upload 28 files
bc41591
_BASE_: "./bases/Base-RCNN-FPN.yaml"
MODEL:
# COCO ResNet50 weights
WEIGHTS: "https://dl.fbaipublicfiles.com/detectron2/COCO-Detection/faster_rcnn_R_50_FPN_3x/137849458/model_final_280758.pkl"
MASK_ON: False # Not doing segmentation
RESNETS:
DEPTH: 50 # ResNet50
ROI_HEADS:
NUM_CLASSES: 5 # Change to suit own task
# Can reduce this for lower memory/faster training; Default 512
BATCH_SIZE_PER_IMAGE: 512
BACKBONE:
FREEZE_AT: 2 # Default 2
DATASETS:
TRAIN: ("web_train",)
TEST: ("web_test",)
DATALOADER:
NUM_WORKERS: 0
SOLVER:
IMS_PER_BATCH: 8 # Batch size; Default 16
BASE_LR: 0.01
# (2/3, 8/9)
STEPS: (16341, 21788) # The iteration number to decrease learning rate by GAMMA.
MAX_ITER: 24512 # Number of training iterations
CHECKPOINT_PERIOD: 4000 # Saves checkpoint every number of steps
INPUT:
MIN_SIZE_TRAIN: (640, 672, 704, 736, 768, 800) # Image input sizes
TEST:
# The period (in terms of steps) to evaluate the model during training.
# Set to 0 to disable.
EVAL_PERIOD: 0
OUTPUT_DIR: "./output/website_lr0.01" # Specify output directory