delve-team / delve

PyTorch model training and layer saturation monitor
https://delve-docs.readthedocs.io
MIT License
79 stars 13 forks source link

Disable save in example #42

Closed MLRichter closed 3 years ago

MLRichter commented 3 years ago

The big was fixed. For some reason, the system expected you to hand instances of writer objects (or list of writer objects) to the save_to argument and did only pass csv-plotting-writer in case of a matching string key. I now added a mapping, which maps all instantiable writers to at least a single string key, which allows for easier configuration. Setting save_to=False, however will result in a crash, which is intentional, since you need at least one sink to dump the resulting data in. If you do not want a permanent effect in the hard drive I recommend save_to="print"