Skip to content

Commit

Permalink
removed unnecessary variable capturing in yamls
Browse files Browse the repository at this point in the history
  • Loading branch information
klemen1999 committed Oct 1, 2024
1 parent 263fe43 commit c987592
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 13 deletions.
4 changes: 2 additions & 2 deletions configs/classification_heavy_model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ loader:

trainer:
preprocessing:
train_image_size: [&height 384, &width 512]
train_image_size: [384, 512]
keep_aspect_ratio: True
normalize:
active: True

batch_size: 8
epochs: &epochs 200
epochs: 200
n_workers: 4
validation_interval: 10
n_log_images: 8
Expand Down
4 changes: 2 additions & 2 deletions configs/classification_light_model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ loader:

trainer:
preprocessing:
train_image_size: [&height 384, &width 512]
train_image_size: [384, 512]
keep_aspect_ratio: True
normalize:
active: True

batch_size: 8
epochs: &epochs 200
epochs: 200
n_workers: 4
validation_interval: 10
n_log_images: 8
Expand Down
2 changes: 1 addition & 1 deletion configs/detection_heavy_model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ loader:

trainer:
preprocessing:
train_image_size: [&height 384, &width 512]
train_image_size: [384, 512]
keep_aspect_ratio: True
normalize:
active: True
Expand Down
2 changes: 1 addition & 1 deletion configs/detection_light_model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ loader:

trainer:
preprocessing:
train_image_size: [&height 384, &width 512]
train_image_size: [384, 512]
keep_aspect_ratio: True
normalize:
active: True
Expand Down
14 changes: 12 additions & 2 deletions configs/example_export.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ loader:

trainer:
preprocessing:
train_image_size: [&height 384, &width 512]
train_image_size: [384, 512]
keep_aspect_ratio: True
normalize:
active: True
Expand All @@ -27,9 +27,19 @@ trainer:

optimizer:
name: SGD
params:
lr: 0.02
momentum: 0.937
weight_decay: 0.0005
dampening: 0.0
nesterov: true

scheduler:
name: ConstantLR
name: CosineAnnealingLR
params:
T_max: *epochs
eta_min: 0.0002
last_epoch: -1

exporter:
output_names: [output1_yolov6r2, output2_yolov6r2, output3_yolov6r2]
Expand Down
2 changes: 1 addition & 1 deletion configs/example_tuning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ loader:

trainer:
preprocessing:
train_image_size: [&height 384, &width 512]
train_image_size: [384, 512]
keep_aspect_ratio: True
normalize:
active: True
Expand Down
2 changes: 1 addition & 1 deletion configs/keypoint_bbox_heavy_model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ loader:

trainer:
preprocessing:
train_image_size: [&height 384, &width 512]
train_image_size: [384, 512]
keep_aspect_ratio: True
normalize:
active: True
Expand Down
2 changes: 1 addition & 1 deletion configs/keypoint_bbox_light_model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ loader:

trainer:
preprocessing:
train_image_size: [&height 384, &width 512]
train_image_size: [384, 512]
keep_aspect_ratio: True
normalize:
active: True
Expand Down
2 changes: 1 addition & 1 deletion configs/segmentation_heavy_model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ loader:

trainer:
preprocessing:
train_image_size: [&height 384, &width 512]
train_image_size: [384, 512]
keep_aspect_ratio: True
normalize:
active: True
Expand Down
2 changes: 1 addition & 1 deletion configs/segmentation_light_model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ loader:

trainer:
preprocessing:
train_image_size: [&height 384, &width 512]
train_image_size: [384, 512]
keep_aspect_ratio: True
normalize:
active: True
Expand Down

0 comments on commit c987592

Please sign in to comment.