-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #176 from weecology/schema_field
- Loading branch information
Showing
5 changed files
with
63 additions
and
45 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,40 @@ | ||
# Config file for DeepForest pytorch module | ||
|
||
# Cpu workers for data loaders | ||
# Dataloaders | ||
workers: 1 | ||
devices: 1 | ||
accelerator: 'gpu' | ||
batch_size: 1 | ||
|
||
# Model Architecture | ||
architecture: 'retinanet' | ||
num_classes: 1 | ||
nms_thresh: 0.05 | ||
|
||
# Architecture specific params | ||
retinanet: | ||
# Non-max supression of overlapping predictions | ||
score_thresh: 0.1 | ||
|
||
train: | ||
csv_file: | ||
root_dir: | ||
|
||
# Optimizer initial learning rate | ||
lr: 0.001 | ||
|
||
# Print loss every n epochs | ||
epochs: 1 | ||
# Useful debugging flag in pytorch lightning, set to True to get a single batch of training to test settings. | ||
fast_dev_run: False | ||
# pin images to GPU memory for fast training. This depends on GPU size and number of images. | ||
preload_images: False | ||
|
||
validation: | ||
# callback args | ||
csv_file: | ||
root_dir: | ||
# Intersection over union evaluation | ||
iou_threshold: 0.4 | ||
val_accuracy_interval: 20 |
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 |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
#SBATCH --job-name=everglades_workflow | ||
#SBATCH [email protected] | ||
#SBATCH --mail-type=FAIL | ||
#SBATCH --gpus=a100:4 | ||
#SBATCH --cpus-per-task=5 | ||
#SBATCH --gpus=a100:1 | ||
#SBATCH --cpus-per-task=3 | ||
#SBATCH --mem=200gb | ||
#SBATCH --time=00:40:00 | ||
#SBATCH --time=01:30:00 | ||
#SBATCH --partition=gpu | ||
#SBATCH --output=/blue/ewhite/everglades/EvergladesTools/logs/everglades_dryrun_workflow.out | ||
#SBATCH --error=/blue/ewhite/everglades/EvergladesTools/logs/everglades_dryrun_workflow.err | ||
|
@@ -20,5 +20,8 @@ conda activate EvergladesTools | |
export TEST_ENV=True | ||
|
||
cd /blue/ewhite/everglades/EvergladesTools/Zooniverse | ||
|
||
snakemake --unlock | ||
snakemake --printshellcmds --keep-going --cores 5 --resources gpu=4 --rerun-incomplete --latency-wait 10 --use-conda | ||
echo "INFO [$(date "+%Y-%m-%d %H:%M:%S")] Starting Snakemake pipeline" | ||
snakemake --printshellcmds --keep-going --cores 3 --resources gpu=1 --rerun-incomplete --latency-wait 1 --use-conda | ||
echo "INFO [$(date "+%Y-%m-%d %H:%M:%S")] End" |
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 |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
#SBATCH --job-name=everglades_workflow | ||
#SBATCH [email protected] | ||
#SBATCH --mail-type=FAIL | ||
#SBATCH --gpus=a100:4 | ||
#SBATCH --cpus-per-task=10 | ||
#SBATCH --mem=200gb | ||
#SBATCH --gpus=a100:1 | ||
#SBATCH --cpus-per-task=30 | ||
#SBATCH --mem=1200gb | ||
#SBATCH --time=80:00:00 | ||
#SBATCH --partition=gpu | ||
#SBATCH --output=/blue/ewhite/everglades/EvergladesTools/logs/everglades_workflow.out | ||
|
@@ -19,5 +19,8 @@ ml conda | |
conda activate EvergladesTools | ||
|
||
cd /blue/ewhite/everglades/EvergladesTools/Zooniverse | ||
|
||
snakemake --unlock | ||
snakemake --printshellcmds --keep-going --cores 10 --resources gpu=4 --rerun-incomplete --latency-wait 10 --use-conda | ||
echo "INFO [$(date "+%Y-%m-%d %H:%M:%S")] Starting Snakemake pipeline" | ||
snakemake --printshellcmds --keep-going --cores 30 --resources gpu=1 --rerun-incomplete --latency-wait 10 --use-conda | ||
echo "INFO [$(date "+%Y-%m-%d %H:%M:%S")] End" |
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