Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate script: review of command-line arguments #172

Merged
merged 22 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 27 additions & 5 deletions crabs/detection_tracking/config/faster_rcnn.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# Dataset
#-------------
train_fraction: 0.8
val_over_test_fraction: 0.5
num_workers: 4

# -------------------
# Model architecture
# -------------------
num_classes: 2

# -------------------------------
# Training & validation parameters
# -------------------------------
n_epochs: 250
learning_rate: 0.00005
wdecay: 0.00005
batch_size_train: 4
batch_size_test: 4
batch_size_val: 4
num_classes: 2
train_fraction: 0.8
val_over_test_fraction: 0.5
checkpoint_saving:
every_n_epochs: 50
keep_last_n_ckpts: 5
Expand All @@ -17,8 +27,16 @@ checkpoint_saving:
# if all, all checkpoints for every epoch are added as artifacts during training,
# if False, no checkpoints are added as artifacts.
save_last: True

# -----------------------
# Evaluation parameters
# -----------------------
iou_threshold: 0.1
num_workers: 4
batch_size_test: 4

# -------------------
# Data augmentation
# -------------------
transform_brightness: 0.5
transform_hue: 0.3
gaussian_blur_params:
Expand All @@ -28,6 +46,10 @@ gaussian_blur_params:
sigma:
- 0.1
- 5.0

# ----------------------------
# Hyperparameter optimisation
# -----------------------------
# when we run Optuna, the n_trials and n_epochs above will be overwritten by the parameters set by Optuna
optuna:
# Parameters for hyperparameter optimisation with Optuna:
Expand Down
Loading