-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release blank / nonblank model (#228)
* add bnb weights and model option * update docs and add model as a test option * missing bracket * correct load validation * update name and version number * add official models folder for blank nonblank * format * add bnb template and add mdlite image size to td * reset patience * always keep blank model if binary and it exists * udpate comment * test real pred for species and blank model * note default in doc string * WIP add number of videos to table and include blank nonblank * simplify redundancy and finish BNB * update to four models and add bnb * build docs * tweak * lowercase label column before OHE * fix test because we are now lowercasing species * test case for blank * remove model count
- Loading branch information
Showing
20 changed files
with
364 additions
and
59 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
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
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,43 @@ | ||
train_config: | ||
# data_dir: YOUR_DATA_DIR HERE | ||
# labels: YOUR_LABELS_CSV_HERE | ||
model_name: blank_nonblank | ||
backbone_finetune_config: | ||
backbone_initial_ratio_lr: 0.01 | ||
multiplier: 1 | ||
pre_train_bn: true | ||
train_bn: false | ||
unfreeze_backbone_at_epoch: 3 | ||
verbose: true | ||
early_stopping_config: | ||
patience: 5 | ||
scheduler_config: | ||
scheduler: MultiStepLR | ||
scheduler_params: | ||
gamma: 0.5 | ||
milestones: | ||
- 3 | ||
verbose: true | ||
|
||
video_loader_config: | ||
model_input_height: 240 | ||
model_input_width: 426 | ||
crop_bottom_pixels: 50 | ||
fps: 4 | ||
total_frames: 16 | ||
ensure_total_frames: true | ||
megadetector_lite_config: | ||
confidence: 0.25 | ||
fill_mode: score_sorted | ||
frame_batch_size: 24 | ||
image_height: 640 | ||
image_width: 640 | ||
n_frames: 16 | ||
|
||
predict_config: | ||
# data_dir: YOUR_DATA_DIR HERE | ||
# or | ||
# filepaths: YOUR_FILEPATH_CSV_HERE | ||
model_name: blank_nonblank | ||
# or | ||
# checkpoint: YOUR_CKPT_HERE |
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
Oops, something went wrong.