-
Notifications
You must be signed in to change notification settings - Fork 1
/
pipeline.sh
30 lines (27 loc) · 1.25 KB
/
pipeline.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
#SBATCH --job-name=AirplanePrediction # Job name
#SBATCH --mail-type=END # Mail events
#SBATCH [email protected] # Where to send mail
#SBATCH --account=ewhite
#SBATCH --nodes=1 # Number of MPI ran
#SBATCH --cpus-per-task=1
#SBATCH --mem=50GB
#SBATCH --time=48:00:00 #Time limit hrs:min:sec
#SBATCH --output=/home/b.weinstein/logs/Airplane_prediction_%j.out # Standard output and error log
#SBATCH --error=/home/b.weinstein/logs/Airplane_prediction_%j.err
#SBATCH --partition=gpu
#SBATCH --gpus=1
source activate DoubleCounting
# Run the pipeline
python scripts/look_for_images.py \
--source UFdropbox:Airplane_images_to_predict \
--destination /blue/ewhite/everglades/Airplane/images_to_predict
python pipeline.py \
--model_path /blue/ewhite/everglades/Zooniverse/20230426_082517/species_model.pl \
--save_dir /blue/ewhite/everglades/Airplane/predictions \
--user ben \
--host serenity.ifas.ufl.edu \
--key_filename /home/b.weinstein/.ssh/id_rsa.pub \
--label_studio_url https://labelstudio.naturecast.org/ \
--label_studio_folder '/pgsql/retrieverdash/everglades-label-studio/everglades-data' \
--image_dir /blue/ewhite/everglades/Airplane/images_to_predict