Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Fix PyTorchImageClassificationTrainer's training #3339

Merged
merged 2 commits into from
Feb 2, 2021

Conversation

tczhangzhi
Copy link
Contributor

It seems that the current process only calculates the loss and gradient, and does not use the optimizer for optimization. Therefore, the model is not actually trained, and its accuracy on the Web UI remains unchanged.

It seems that the current process only calculates the loss and gradient, and does not use the optimizer for optimization. Therefore, the model is not actually trained, and its accuracy on the Web UI remains unchanged.
For now, intermediate reports and final reports are consistent, and they are displayed once after all epochs have finished. This may not meet our expectations. We hope that intermediate reports can provide us with the validation results after each epoch.
@J-shang J-shang requested a review from QuanluZhang January 29, 2021 08:41
@J-shang J-shang closed this Feb 1, 2021
@J-shang J-shang reopened this Feb 1, 2021
@QuanluZhang QuanluZhang merged commit 533f2ef into microsoft:master Feb 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants