-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
8c7865d
commit e2cfbf9
Showing
1 changed file
with
22 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#! /usr/bin/env bash | ||
|
||
|
||
# for each of the runs here: | ||
# | ||
# /hpc/projects/group.bioengineering/LFM_scope/misc/uganda-fp-thumbnails/frightful-wendigo-1931_false_positives.csv | ||
# converted and cleaned to get | ||
# /hpc/projects/group.bioengineering/LFM_scope/misc/uganda-fp-thumbnails/frightful-wendigo-1931_false_positive_runs.txt | ||
|
||
while read run_folder; do | ||
run_name=$(basename $run_folder) | ||
|
||
./thumbnail_sort_labelling.py create \ | ||
"/hpc/projects/group.bioengineering/LFM_scope/misc/uganda-fp-thumbnails/$run_name" \ | ||
--path-to-run "$run_folder" \ | ||
--ignore-class healthy --ignore-class misc --ignore-class wbc \ | ||
--thumbnail-type yogo-confidence \ | ||
--min-confidence 0.9 \ | ||
--obj-thresh 0.5 \ | ||
--iou-thresh 0.5 \ | ||
--path-to-pth /hpc/projects/group.bioengineering/LFM_scope/yogo_models/all-models/frightful-wendigo-1931/best.pth | ||
done < /hpc/projects/group.bioengineering/LFM_scope/misc/uganda-fp-thumbnails/frightful-wendigo-1931_false_positive_runs.txt |