MTFN-RR-PyTorch-Code icon indicating copy to clipboard operation
MTFN-RR-PyTorch-Code copied to clipboard

About training code and the resutls

Open holyhao opened this issue 4 years ago • 3 comments

Tanks for your work. I training the model on f30k with the default setting. But the loss dose not convergence and keep at about 51, and the test accuary is really poor. Do you have some idea about this.

holyhao avatar Mar 28 '20 01:03 holyhao

me too, loss doesn't converge. Maybe the reason of triplet loss? or some problems about data preprocessing?

xiaoyuan1996 avatar May 07 '20 14:05 xiaoyuan1996

Hi, sorry for the delay replay since I haven't seen the issue. Actually, the triplet loss is hard to converge and the parameters are very important and sensible. The loss 51 is indeed the bottleneck, which means you need better parameters. And if the loss can break 51. It will have a fast converge to about 20.

However, I remember the code can be good converge since I have finetune the parameters. Do you directly run the code? Or do you make any changes? I will check the code recently. Thanks for your attention to our work~

Wangt-CN avatar May 07 '20 14:05 Wangt-CN

Hi, I have checked the results and training. It seems normal in my case. And I also just find that the previous user can implement the results with this code base issue#1

Wangt-CN avatar Dec 10 '20 13:12 Wangt-CN