Created
January 8, 2025 21:40
-
-
Save tldrafael/5786628185d44f289257954bb2c32297 to your computer and use it in GitHub Desktop.
Tensorboard-logdir script
This file contains hidden or 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
echo -e "\n\n" | |
TB_ARG='' | |
i=1 | |
for letter in {a..z}; do | |
if [ $i -lt $(($#+1)) ]; then | |
line="${letter}:${!i}" | |
echo -e $line | |
TB_ARG+="${line}/logs," | |
i=$((i+1)) | |
else | |
break | |
fi | |
done | |
echo -e "\n\n" | |
tensorboard --port=6004 --logdir_spec=${TB_ARG::-1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment