rl icon indicating copy to clipboard operation
rl copied to clipboard

[BUG] default snapshot backend doesn't match docs

Open jannessm opened this issue 1 year ago • 1 comments

Describe the bug

The documentation doesn't match its implementation.

When using the trainer as described, the trainer cannot save a checkpoint since the provided path is a directory and not a file.

To Reproduce

Try to use the trainer with save_file_file = './ckpts'. Of course the directory must exist.

Expected behavior

Saved checkpoints by torchsnapshot.

jannessm avatar Apr 10 '24 14:04 jannessm

I will correct this thanks for flagging.

vmoens avatar Apr 11 '24 07:04 vmoens