You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🐛 Describe the bug
Summary: When reloading a strategy checkpoint using maybe_load_checkpoint, the loggers for that strategy are unpickled, which calls TextLogger._fobj_deserialize. If the strategy saved text logs to a directory that no longer exists (for example in a temporary directory), then when loading the checkpoint you get FileNotFoundError for any file definition of the form "path:<path to file>".
🐝 Expected behavior
The log directory and file should be created. This is special pickling behavior from avalanche, hence ideally it should either handle all the pickling cases properly or not pickle the text logger.
The text was updated successfully, but these errors were encountered:
Right now loggers add metrics to existing files. The idea is that you want the file to have the complete history. If the file does not exist this is not possible. To me this is expected behavior. However, I'm open to an alternative that starts the log from scratch if the file is not available anymore, as long as it doesn't add too much complexity.
🐛 Describe the bug
Summary: When reloading a strategy checkpoint using
maybe_load_checkpoint
, the loggers for that strategy are unpickled, which callsTextLogger._fobj_deserialize
. If the strategy saved text logs to a directory that no longer exists (for example in a temporary directory), then when loading the checkpoint you getFileNotFoundError
for any file definition of the form"path:<path to file>"
.🐜 To Reproduce
🐝 Expected behavior
The log directory and file should be created. This is special pickling behavior from avalanche, hence ideally it should either handle all the pickling cases properly or not pickle the text logger.
The text was updated successfully, but these errors were encountered: