lightly
lightly copied to clipboard
Save the CLI output in environment variables
Description
To be able to fully script lightly workflows and automate them, we need to be able to get the output of lightly cli commands. This can be done by saving it into an environment variable. This is solution 4 from https://github.com/lightly-ai/lightly/issues/310#issuecomment-830034408
Task
- save the
LIGHTLY_LAST_EMBEDDING_PATH,LIGHTLY_LAST_CHECKPOINT_PATH, LIGHTLY_LAST_DATASET_ID` under these environment variables - document it