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
We refer the objective in Eqn. 10 asSoft-Triple. We setτ= 0.2andγ= 0.1for SoftTriple. Besides,we set a small margin asδ= 0.01to break the tie explicitly.The number of centers is set toK= 10.
The text was updated successfully, but these errors were encountered:
@idstcv
您好,谢谢您的开源代码,很棒^^
我用在我的框架中,有点疑问
1、args.dim, args.C ,这个是输出特征的维度,和训练数据的所有的类别?参数中是98,
2、如果用在其其他检索任务上,下面的其他参数需要调整吗?
3、在reid 任务上,您有试过, softtriploss +分类损失联合训练吗
4、模型 和 损失的学习率 为什么设置的不同?
5、什么情况下,用该损失 表现并不理想?
criterion = loss.SoftTriple(args.la, args.gamma, args.tau, args.margin, args.dim, args.C, args.K).cuda()
optimizer = torch.optim.Adam([{"params": model.parameters(), "lr": args.modellr},
{"params": criterion.parameters(), "lr": args.centerlr}],
eps=args.eps, weight_decay=args.weight_decay)
We refer the objective in Eqn. 10 asSoft-Triple. We setτ= 0.2andγ= 0.1for SoftTriple. Besides,we set a small margin asδ= 0.01to break the tie explicitly.The number of centers is set toK= 10.
The text was updated successfully, but these errors were encountered: