You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Xiangtaokong , a nice work for SR acceleration. I have some questions. Could you help me explain these? Thanks ahead.
Conflict between the Class loss and Average loss
It seems that the Class-loss is designed to teach the Class-Module to predict the probability of branches unevenly, while the Average-loss is trying to teach the Class-Module to predict probability evenly. I think that the Class-Module tries to strike a balance between certain routing and uncertain routing. Could you help me explain this trade off?
Loss curve during the training Class-Module
Besides, during the training, I find it that Class-loss decreases obviously. But Average-loss changes smoothly. Is this obversation normal?
Waiting for your reply! Thanks for your time!
The text was updated successfully, but these errors were encountered:
Thank for your attention.
Class loss makes the classification probability uneven such as [0,0,1]. It constraints the probability of a sample(a sub image).
Average loss makes the classification results even among a batch such [32,32,32] of batch size 96.
They are not on the same level. We should first satisfy class loss to make sure the rationality and than consider average loss.
The losses are normal, you can understand the loss curve according the above explain.
---Original---
From: "Hao ***@***.***>
Date: Thu, Dec 29, 2022 12:12 PM
To: ***@***.***>;
Cc: "Xiangtao ***@***.******@***.***>;
Subject: [XPixelGroup/ClassSR] Questions about classification method (Issue#53)
Hi @Xiangtaokong , a nice work for SR acceleration. I have some questions. Could you help me explain these? Thanks ahead.
Conflict between the Class loss and Average loss
It seems that the Class-loss is designed to teach the Class-Module to predict the probability of branches unevenly, while the Average-loss is trying to teach the Class-Module to predict probability evenly. I think that the Class-Module tries to strike a balance between certain routing and uncertain routing. Could you help me explain this trade off?
Loss curve during the training Class-Module
Besides, during the training, I find it that Class-loss decreases obviously. But Average-loss changes smoothly. Is this obversation normal?
Waiting for your reply! Thanks for your time!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
Hi @Xiangtaokong , a nice work for SR acceleration. I have some questions. Could you help me explain these? Thanks ahead.
It seems that the Class-loss is designed to teach the Class-Module to predict the probability of branches unevenly, while the Average-loss is trying to teach the Class-Module to predict probability evenly. I think that the Class-Module tries to strike a balance between certain routing and uncertain routing. Could you help me explain this trade off?
Besides, during the training, I find it that Class-loss decreases obviously. But Average-loss changes smoothly. Is this obversation normal?
Waiting for your reply! Thanks for your time!
The text was updated successfully, but these errors were encountered: