Unify log dir structure (#211)
* Unifiy log dir paths * Add a little helper script `logs/latest` which can be used to quickly change into the latest log dir of a specific kind * Update README
This commit is contained in:
1 parent
6cbf168156
commit
ab02996fd4
6 files changed
+62
-42
No files matched your search
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This script allows to quickly change into the latest log dir of a specific kind.
|
||||
# Should be executed from project root folder.
|
||||
#
|
||||
# Go to latest log dir from 'runs' folder:
|
||||
# cd $(logs/latest logs/runs)
|
||||
#
|
||||
# Go to latest log dir from 'experiments' folder:
|
||||
# cd $(logs/latest logs/experiments)
|
||||
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
find "$1" -maxdepth 2 -type d | sort -r | head -n 1
|
||||
Reference in new issue
Block a user