Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkpoint error in AGEM #1517

Open
TomokazuNakamura opened this issue Oct 12, 2023 · 0 comments
Open

Checkpoint error in AGEM #1517

TomokazuNakamura opened this issue Oct 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@TomokazuNakamura
Copy link

An error occurs when saving "checkpoint.pkl" only when strategy=AGEM.

cl_strategy = avalanche.training.AGEM(
model, optimizer, criterion, train_mb_size=config.batch_size, train_epochs=config.epochs,
eval_mb_size=config.batch_size, device=device, evaluator=evaluator,
patterns_per_exp=int(args.parameter1), eval_every=1)
save_checkpoint(cl_strategy, fname) #"fname" is name of the checkpoint file

@TomokazuNakamura TomokazuNakamura added the bug Something isn't working label Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant