Right now I had several slurm scripts for each type of model. It felt easier like that when I started the experimental work on the cluster, but now I can write a general slurm script that is covering all the particular cases and it can be called with parameters for each type of model (be it YOLOv5 or YOLOv7).
So instead of having multiple *train* and *detect* Slurm scripts, I can have just two scripts train.sh and detect.sh that can be executed from the server's terminal like:
Right now I had several slurm scripts for each type of model. It felt easier like that when I started the experimental work on the cluster, but now I can write a general slurm script that is covering all the particular cases and it can be called with parameters for each type of model (be it YOLOv5 or YOLOv7).
So instead of having multiple
*train*
and*detect*
Slurm scripts, I can have just two scriptstrain.sh
anddetect.sh
that can be executed from the server's terminal like: