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
When using the Wandb logger with Lightning CLI a config.yaml will be written to the working dir and cause subsequent runs to error and fail until this file is deleted. This is due to Lightning-AI/pytorch-lightning#17168
The workaround is to pass LightningCLI(save_config_kwargs={"overwrite": True}) in torchgeo.main.py
RuntimeError: SaveConfigCallback expected ./config.yaml to NOT exist. Aborting to avoid overwriting results of a previous run. You can delete the previous config file, set `LightningCLI(save_config_callback=None)` to disable config saving, or set `LightningCLI(save_config_kwargs={"overwrite": True})` to overwrite the config file.
Version
0.5.0
The text was updated successfully, but these errors were encountered:
Description
When using the Wandb logger with Lightning CLI a
config.yaml
will be written to the working dir and cause subsequent runs to error and fail until this file is deleted. This is due to Lightning-AI/pytorch-lightning#17168The workaround is to pass
LightningCLI(save_config_kwargs={"overwrite": True})
intorchgeo.main.py
Steps to reproduce
In lightning config:
Will result in
Version
0.5.0
The text was updated successfully, but these errors were encountered: