Skip to content

Commit

Permalink
Update sbatch files
Browse files Browse the repository at this point in the history
  • Loading branch information
prushh-wsl authored and prushh-wsl committed Jul 28, 2023
1 parent 14b053e commit 5953540
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions sbatch/eval.sbatch
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash
#SBATCH --job-name=fire-eval
#SBATCH --mail-type=ALL
#SBATCH --mail-user=davide.pruscini@studio.unibo.it
#SBATCH --mail-user=nome.cognome@unibo.it
#SBATCH --time=10-00:00:00
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --output=eval-default.txt
#SBATCH --output=eval.txt
#SBATCH --gres=gpu:1

. venv/bin/activate
Expand All @@ -14,4 +14,4 @@ export PYTHONPATH=${PYTHONPATH}:/public.hpc/davide.pruscini/image-retrieval-fire
export PYTHONPATH=${PYTHONPATH}:/public.hpc/davide.pruscini/image-retrieval-fire/utils/cnnimageretrieval-pytorch
export PYTHONPATH=${PYTHONPATH}:/public.hpc/davide.pruscini/image-retrieval-fire/utils/asmk

python3 fire/evaluate.py fire/eval_fire.yml -e eval_default
python3 fire/evaluate.py fire/eval_fire.yml -e eval_experiment_folder -ml train_experiment_folder
6 changes: 3 additions & 3 deletions sbatch/train.sbatch
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash
#SBATCH --job-name=fire-train
#SBATCH --mail-type=ALL
#SBATCH --mail-user=davide.pruscini@studio.unibo.it
#SBATCH --mail-user=nome.cognome@unibo.it
#SBATCH --time=10-00:00:00
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --output=train-default.txt
#SBATCH --output=train.txt
#SBATCH --gres=gpu:1

. venv/bin/activate
Expand All @@ -14,4 +14,4 @@ export PYTHONPATH=${PYTHONPATH}:/public.hpc/davide.pruscini/image-retrieval-fire
export PYTHONPATH=${PYTHONPATH}:/public.hpc/davide.pruscini/image-retrieval-fire/utils/cnnimageretrieval-pytorch
export PYTHONPATH=${PYTHONPATH}:/public.hpc/davide.pruscini/image-retrieval-fire/utils/asmk

python3 fire/train.py fire/train_fire.yml -e train_default
python3 fire/train.py fire/train_fire.yml -e train_experiment_folder

0 comments on commit 5953540

Please sign in to comment.