Skip to content

Commit

Permalink
uganda fp runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel-Jacobsen committed Mar 26, 2024
1 parent 8c7865d commit e2cfbf9
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions lfm_data_utilities/thumbnail_labelling/uganda_fps.sh
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

0 comments on commit e2cfbf9

Please sign in to comment.