This is a PyTorch implementation of a deep learning approach for digit recognition (classification) with MNIST dataset.
For loading "conda":
$ module load Anaconda3/2021.05Then, for adding the configurations to your .bashrc file.
$ conda init bashThen, you can build a virtual environment to install your packages as follows.
$ conda create -n nn_env pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch$ git clone https://github.com/ameliajimenez/example-mnist-itu.git
$ cd example-mnist-itu/Notice that you have to change the working directory with --workdir argument in example_slurm.sh file.
$ sbatch example_slurm.shWe can monitor the running tasks on the cluster by the following command:
$ squeueor in a continuous way:
$ watch squeue