I understand that WandB stores the
requirements.txt as part of its logging for every experiment.
Since i use
pipenv I would also like to log the
PipFile. However this file is at the path-level as
requirements.txt and I am prohibited from saving this file. I get the error message:
globs can't walk above base_path. Is there a way to log this file?
Edit: I’ve discovered that I can use
wandb.init(dir="my/project/root/dir") and can then use
wandb.save("Pipfile"). Now I dont have an error, but the file also is NOT being added to the files logged by the experiment. I’m guessing that I instead need to copy the
Pipfile into the local wandb temp directory. Perhaps that is enough.