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

Fix CLS-ER Loss #347

Merged
merged 2 commits into from
Jul 24, 2023
Merged

Fix CLS-ER Loss #347

merged 2 commits into from
Jul 24, 2023

Conversation

wistuba
Copy link
Contributor

@wistuba wistuba commented Jul 24, 2023

CLS loss was not computed based on the stable model but twice on the plastic model.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions
Copy link

Coverage report

The coverage rate went from 85.68% to 85.16% ⬇️

0% of new lines are covered.

Diff Coverage details (click to unfold)

src/renate/updaters/learner_components/losses.py

0% of new lines are covered (54.19% of the complete file).
Missing lines: 368

@@ -5,6 +5,6 @@
"dataset": "mnist.json",
"backend": "local",
"job_name": "class-incremental-mlp-cls-er",
"expected_accuracy_linux": [[0.9858155846595764, 0.9740450382232666]],
"expected_accuracy_darwin": [[0.9858155846595764, 0.9755141735076904]]
"expected_accuracy_linux": [[0.9839243292808533, 0.9740450382232666]],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this not result in changes at all?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

apparently not

Copy link
Contributor

@prabhuteja12 prabhuteja12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you check if the numbers on linux not change at all?

@wistuba wistuba merged commit 98dac26 into dev Jul 24, 2023
@wistuba wistuba deleted the mw-fix-cls branch July 24, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants