-
Notifications
You must be signed in to change notification settings - Fork 273
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
Adding an fixed Auxiliary Classifier generate loss to the lossD or lossG part #69
Comments
above is somecode i used to create a new part loss of G : |
|
adding the loss to net work G'loss
|
I want to know how to decrea the self.lossReAutoGrad (the face recognition assuming name is the loss A ),and I wonder my way of adding the lossA to the lossD works。the loss can backward or not ?thanks in advanced |
anyone can help me? |
@KupynOrest @t-martyniuk can you help me ,or give me some cues? |
hi,
I am trying to do a face recognition project 。Some of my Images are motion blured baddly,my trained face recognition model mobilefacenet(this trained model is fixed ) get bad results 。I want to use the deblur gan model to improve my images qualities。 I want to use the trained face recognition model as Auxiliary Classifier to control the loss,So I can improve the accuracy of face recognition 。my idea is giving some image pairs from the same persons,the deblur G model can generate some new imgs for those same persons pairs。And using the mobilefacnet recognition model calucate as a new loss to the nework。If the recognition loss drops ,the selected images pairs quality probably impoved 。** And My way is that I calculate the cos distance between fixed images pairs , and then adding them together as new loss A 。then adding the loss A
to loss D or loss G, by decreasing the new loss A, the face recognition accuracy may impove , the images quality may improve ,However ,when I added the loss A to loss D part ,the new part lossA drop slowly ,and can not converge ,the loss drop from 14 to 13 ,keep staying in around 13, I guess i mistook something ,can My idea works?**
The text was updated successfully, but these errors were encountered: