5.18. Keras

Attention

Please download the necessary dataset in advance on the frontend node.

module

Execution queue

/work/app/Keras/keras.sif

A_002 CA_001 DA_002

The job script is as follows.

#!/bin/sh
#PBS -l select=1[:ncpus=number of CPUs][:ngpus=number of GPUs]
#PBS -q CA_001
#PBS -N jobname

cd $PBS_O_WORKDIR

singularity exec  /work/app/Keras/keras.sif python input file > output file 2> error file

・Example

#!/bin/sh
#PBS -l select=1:ncpus=2:ngpus=2
#PBS -q CA_001
#PBS -N Keras

cd $PBS_O_WORKDIR

singularity exec /work/app/Keras/keras.sif python cifar100.py > cifar100.out 2> cifar100.err