-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
65 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Config file for DeepForest pytorch module | ||
|
||
# Cpu workers for data loaders | ||
# Dataloaders | ||
workers: 0 | ||
devices: auto | ||
accelerator: auto | ||
batch_size: 2 | ||
|
||
# Model Architecture | ||
architecture: 'retinanet' | ||
num_classes: 1 | ||
nms_thresh: 0.05 | ||
|
||
# Architecture specific params | ||
retinanet: | ||
# Non-max supression of overlapping predictions | ||
score_thresh: 0.1 | ||
|
||
train: | ||
csv_file: | ||
root_dir: | ||
|
||
# Optimizer initial learning rate | ||
lr: 0.00001 | ||
scheduler: | ||
type: | ||
params: | ||
# Common parameters | ||
T_max: 10 | ||
eta_min: 0.00001 | ||
lr_lambda: "lambda epoch: 0.95 ** epoch" # For lambdaLR and multiplicativeLR | ||
step_size: 30 # For stepLR | ||
gamma: 0.1 # For stepLR, multistepLR, and exponentialLR | ||
milestones: [50, 100] # For multistepLR | ||
|
||
# ReduceLROnPlateau parameters (used if type is not explicitly mentioned) | ||
mode: "min" | ||
factor: 0.1 | ||
patience: 10 | ||
threshold: 0.0001 | ||
threshold_mode: "rel" | ||
cooldown: 0 | ||
min_lr: 0 | ||
eps: 1e-08 | ||
|
||
# Print loss every n epochs | ||
epochs: 1 | ||
# Useful debugging flag in pytorch lightning, set to True to get a single batch of training to test settings. | ||
fast_dev_run: False | ||
# pin images to GPU memory for fast training. This depends on GPU size and number of images. | ||
preload_images: False | ||
|
||
validation: | ||
# callback args | ||
csv_file: | ||
root_dir: | ||
# Intersection over union evaluation | ||
iou_threshold: 0.4 | ||
val_accuracy_interval: 20 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters