How to programmatically determine the checkpoint directory?
❓ Questions and Help
What is your question?
How do you programmatically determine the checkpoint directory?
pytorch lighting has automatic support for checkpoints and those checkpoints are stored in lightning_logs/VERSION/checkpoints/epoch=BEST.ckpt. However, I don't know how to programmatically determine what the VERSION or directory is, to copy the checkpoint to save it for later in another directory.
Another reason I would like to do this is to store auxiliary training data (e.g. Dataset) with the checkpoint, and I don't know how to do this based upon the docs.
What have you tried?
I have tried manually finding the directory in lightning_logs.
What's your environment?

OS: OSX
Packaging pip3
Version 0.7.6