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
#!/usr/bin/env bash | |
function usage() { | |
echo "Usage: bash $0 -v /home/env --gpus 3 --agent \"wandb agent __agent__\"" | |
echo "Automatically populates agents in separate screens and GPUs." | |
echo "" | |
echo "Arguments:" | |
echo -e " -v --venv\t\tPath to the virtual enviroment with wandb and tensorflow installed." | |
echo -e " -a --agent\t\tAgent command" | |
echo -e " -g --gpus\t\tGPUs to use. Can be comma-separated like: 0,1" |