-
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.
find_lr
script finished advances #26
- Loading branch information
Showing
2 changed files
with
73 additions
and
13 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 |
---|---|---|
@@ -1,23 +1,28 @@ | ||
#!/bin/bash | ||
|
||
#SBATCH --job-name LR_EfficientNetB0 # Nombre del proceso | ||
|
||
#SBATCH --partition dios # Cola para ejecutar | ||
|
||
#SBATCH --gres=gpu:1 # Numero de gpus a usar | ||
|
||
|
||
#SBATCH --job-name=train_EfficientNetB0 # Process name | ||
#SBATCH --partition=dios # Queue for execution | ||
#SBATCH --gres=gpu:1 # Number of GPUs to use | ||
#SBATCH --mail-type=END,FAIL # Notifications for job done & fail | ||
#SBATCH [email protected] # Where to send notification | ||
|
||
# Load necessary paths | ||
export PATH="/opt/anaconda/anaconda3/bin:$PATH" | ||
|
||
export PATH="/opt/anaconda/bin:$PATH" | ||
|
||
# Setup Conda environment | ||
eval "$(conda shell.bash hook)" | ||
conda activate /mnt/homeGPU/polivares/tda-nn/tda-nn-separability | ||
export TFHUB_CACHE_DIR=. | ||
|
||
conda activate /mnt/homeGPU/polivares/tda-nn-separability | ||
# Check if correct number of arguments is passed | ||
if [ "$#" -ne 1 ]; then | ||
echo "Usage: $0 <config_file>" | ||
exit 1 | ||
fi | ||
|
||
export TFHUB_CACHE_DIR=. | ||
config_file=$1 | ||
|
||
python find_learning_rates.py | ||
python find_learning_rates.py $config_file | ||
|
||
mail -s "Proceso finalizado" [email protected] <<< "El proceso ha finalizado" | ||
# mail -s "Proceso finalizado" [email protected] <<<"El proceso ha finalizado" |
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