Scripts like tf-inference.sh assume that the current directory is the top directory, which is inconvenient.