FGD
FGD copied to clipboard
How to tune the loss weights?
Hi,
there are some of the loss weights, like https://github.com/yzd-v/FGD/blob/master/mmdet/distillation/losses/fgd.py#L27
How did you tune these loss weights? Any guideline to tune these hyper parameters?
It's used to balance the losses and FGD is not very sensitive to them. You can change the hyper-parameters according to the loss scale.
what did you mean loss scale
? Is it related to classification loss and regression loss?
The smallest distillation loss scale is similar to the original classification loss or regression loss may be fine.
so you mean that if the classification loss is 0.3, then smallest distillation loss (one of the fpn level) should approach to 0.3 as well?
yes, 0.1-2 may be fine too
I found it may be sensitive to these parameters in my own dataset, since there is no improvement and even worse than the baseline.
I would follow your suggestion and see whether it works or not.
You can keep the ratio between different loss and change them together to balance loss. You may also check whether the teacher load the weight successfully.
@yzd-v
Do you mind to upload your training log?
Here are my distiller loss
Are these losses too small? the loss value for different fpn levels differ a lot.
update
There might be something wrong in your distillation environment. You can test your environment on COCO to compare the results.
yup I am going to test with coco.
Do you use FGD to distill your own data?
I am researching this direction, can I exchange some questions about FGD with you?
@renyu-renyu
Are you talking with me?
@renyu-renyu
你在跟我说话吗?
Yes, if we can, we can communicate together
Yup.
What is your opinion about FGD?
是的。
您对 FGD 有什么看法?
Are you training your own dataset or?
Yup.
I was training widerface.
but did not get good result, what about you?
是的。
我正在训练更宽的脸。
但没有得到好的结果,你呢?
I'm reproducing the results of FGD and haven't trained my own network and data
I'm reproducing the results of FGD and haven't trained my own network and data
did you reproduce?
你繁殖了吗? It is reproduced, but the accuracy is not ideal, and it may need to be modified. Have you implemented your own data set?
what do you mean reproduced but the accuracy is not ideal? does the accuracy not match the paper?
你是什么意思复制但准确性不理想?精度点是否与纸张匹配?
yes
Can you share your reproduced accuracies and the paper accuracies?
你能分享你的复制精度和纸张精度吗?
I'm not quite done yet, I've emailed you
Can you share your reproduced accuracies and the paper accuracies?
Will you reproduce this article? How about the accuracy of reproduction? I'd like to discuss it with you
你能分享你的复制精度和纸张精度吗?
I'm not quite done yet, I've emailed you
Will you reproduce this article? How about the accuracy of reproduction? I'd like to discuss it with you
你能分享你的复制精度和纸张精度吗?
I'm not quite done yet, I've emailed you
Will you reproduce this article? How about the accuracy of reproduction? I'd like to discuss it with you
Have you reproduce this article? I'd like to discuss it with you.