Closed zugexiaodui closed 1 year ago
Thanks, I believe @lrzpellegrini already fixed this but I think he still needs to do a PR.
@HamedHemati please verify this is fixed when you check the notebooks (and close it if fixed).
@AntonioCarta Works fine with the master branch. I'm closing this issue.
๐ Describe the bug When I tried to run the example code following https://avalanche.continualai.org/from-zero-to-hero-tutorial/04_training#how-to-write-a-custom-strategy, I encountered an
AttributeError: 'function' object has no attribute 'get_last_metrics'
. It is caused by the missing of brackets in https://github.com/ContinualAI/avalanche/blob/b225d825181df0f8a941fce51a18fef4f193150e/avalanche/training/templates/common_templates.py#L73It can be fixed by:
evaluator=default_evaluator(),
๐ To Reproduce
๐ Expected behavior The console displays the training process with progress bars.
๐ Screenshots If applicable, add screenshots to help explain your problem.
๐ฆ Additional context Avalanche 0.3.1