Remove exp_save_path on the LightningModule (#7266)
* deprecate-exp-save-path * Update lightning.py * Update CHANGELOG.md * remove-not-deprecate
This commit is contained in:
parent
b6706470c1
commit
338f5a3311
|
@ -183,6 +183,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|||
|
||||
### Deprecated
|
||||
|
||||
|
||||
- Deprecated the `save_function` property from the `ModelCheckpoint` callback ([#7201](https://github.com/PyTorchLightning/pytorch-lightning/pull/7201))
|
||||
|
||||
|
||||
|
@ -228,6 +229,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|||
### Removed
|
||||
|
||||
|
||||
- Removed the `exp_save_path` property from the `LightningModule` ([#7266](https://github.com/PyTorchLightning/pytorch-lightning/pull/7266))
|
||||
|
||||
|
||||
- Removed training loop explicitly calling `EarlyStopping.on_validation_end` if no validation is run ([#7069](https://github.com/PyTorchLightning/pytorch-lightning/pull/7069))
|
||||
|
||||
|
||||
|
|
|
@ -81,8 +81,6 @@ class LightningModule(
|
|||
# torch/nn/modules/module.py#L227)
|
||||
torch._C._log_api_usage_once(f"lightning.module.{self.__class__.__name__}")
|
||||
|
||||
self.exp_save_path = None
|
||||
|
||||
self.loaded_optimizer_states_dict = {}
|
||||
|
||||
#: Pointer to the trainer object
|
||||
|
|
Loading…
Reference in New Issue