-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: klemen1999 <[email protected]> Co-authored-by: Martin Kozlovsky <[email protected]>
- Loading branch information
1 parent
762833f
commit 809eeeb
Showing
31 changed files
with
774 additions
and
624 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
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,37 @@ | ||
# Example configuration for training a predefined light classification model | ||
|
||
model: | ||
name: classification_light | ||
predefined_model: | ||
name: ClassificationModel | ||
params: | ||
variant: light | ||
|
||
loader: | ||
params: | ||
dataset_name: cifar10_test | ||
|
||
trainer: | ||
preprocessing: | ||
train_image_size: [384, 512] | ||
keep_aspect_ratio: True | ||
normalize: | ||
active: True | ||
|
||
batch_size: 8 | ||
epochs: 200 | ||
n_workers: 4 | ||
validation_interval: 10 | ||
n_log_images: 8 | ||
|
||
callbacks: | ||
- name: ExportOnTrainEnd | ||
- name: TestOnTrainEnd | ||
|
||
optimizer: | ||
name: Adam | ||
params: | ||
lr: 0.003 | ||
|
||
scheduler: | ||
name: ConstantLR |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Example configuration for training a predefined heavy detection model | ||
|
||
model: | ||
name: detection_heavy | ||
predefined_model: | ||
name: DetectionModel | ||
params: | ||
variant: heavy | ||
|
||
loader: | ||
params: | ||
dataset_name: coco_test | ||
|
||
trainer: | ||
preprocessing: | ||
train_image_size: [384, 512] | ||
keep_aspect_ratio: True | ||
normalize: | ||
active: True | ||
|
||
batch_size: 8 | ||
epochs: &epochs 200 | ||
n_workers: 4 | ||
validation_interval: 10 | ||
n_log_images: 8 | ||
|
||
callbacks: | ||
- name: ExportOnTrainEnd | ||
- name: TestOnTrainEnd | ||
|
||
optimizer: | ||
name: SGD | ||
params: | ||
lr: 0.01 | ||
momentum: 0.937 | ||
weight_decay: 0.0005 | ||
dampening: 0.0 | ||
nesterov: true | ||
|
||
scheduler: | ||
name: CosineAnnealingLR | ||
params: | ||
T_max: *epochs | ||
eta_min: 0.0001 | ||
last_epoch: -1 |
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,45 @@ | ||
# Example configuration for training a predefined light detection model | ||
|
||
model: | ||
name: detection_light | ||
predefined_model: | ||
name: DetectionModel | ||
params: | ||
variant: light | ||
|
||
loader: | ||
params: | ||
dataset_name: coco_test | ||
|
||
trainer: | ||
preprocessing: | ||
train_image_size: [384, 512] | ||
keep_aspect_ratio: True | ||
normalize: | ||
active: True | ||
|
||
batch_size: 8 | ||
epochs: &epochs 200 | ||
n_workers: 8 | ||
validation_interval: 10 | ||
n_log_images: 8 | ||
|
||
callbacks: | ||
- name: ExportOnTrainEnd | ||
- name: TestOnTrainEnd | ||
|
||
optimizer: | ||
name: SGD | ||
params: | ||
lr: 0.02 | ||
momentum: 0.937 | ||
weight_decay: 0.0005 | ||
dampening: 0.0 | ||
nesterov: true | ||
|
||
scheduler: | ||
name: CosineAnnealingLR | ||
params: | ||
T_max: *epochs | ||
eta_min: 0.0002 | ||
last_epoch: -1 |
Oops, something went wrong.