Comments (2)
If I understand this correctly you have not changed the save_top_k
parameter (see docs). After saving a new file this check will remove the previous checkpoint file. From the docs I would recommend
checkpoint_callback = ModelCheckpoint(
dirpath='checkpoints/every_10_epochs',
filename='epoch-{epoch:02d}',
every_n_epochs=10,
save_top_k=-1,
)
but looking at the implementation I assume that any value != 1
should suffice.
from pytorch-lightning.
Ahh I see. I misunderstood the docs! Thanks for clarifying @godaup !
from pytorch-lightning.
Related Issues (20)
- LearningRateMonitor broken on MPS backend with Apple silicon
- Mixed precision, ddp and torch.no_grad()
- Cannot turn off sampler injection at inference time.
- Weights are misshappen when using model's forward in on_fit_end() hook with FSDP
- Registered buffers not moved to correct device when using DeepSpeed Stage 3
- Problem in multi-gpu training HOT 2
- `_update_dataloader` improperly copies state of subclassed dataloader with attribute names that differ from `__init__` parameters.
- rich progress bar shows v_num as 0.000
- _atomic_save with transaction cause "Invalid cross-device link" error HOT 2
- Custom batch sampler fails to re-instantiate in `_dataloader_init_kwargs_resolve_sampler` HOT 1
- MLFlow logger returns None when MLFlow server is used
- `strict = False` does not work when the checkpoint is distributed
- Lightning place model inputs and model to different devices HOT 1
- Validation is incorrectly run on resume HOT 2
- WandbLogger will cause error on TPU v3-8
- Bug Report: Incorrect URI Prefix Stripping in MLflowLogger
- SLURM resubmission crashes because of multiprocessing error
- `NeptuneCallback` produces lots of `X-coordinates (step) must be strictly increasing` errors
- Mid-epoch resume causes a single unwanted validation step (which is not a sanity check)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch-lightning.