NVlabs / DG-Net

:couple: Joint Discriminative and Generative Learning for Person Re-identification. CVPR'19 (Oral) :couple:
https://www.zdzheng.xyz/publication/Joint-di2019
Other
1.27k stars 230 forks source link

From my training logs, the TEACHER is always 0. Is that normal? #47

Open y122302868 opened 4 years ago

y122302868 commented 4 years ago

Elapsed time in update: 1.871682 Epoch: 00 Iteration: 00001118/00100000 DLoss: 3.0236 Reg: 0.0102 L_total: 21.1056, L_gan: 3.6200, Lx: 2.4833, Lxp: 3.0208, Lrecycle:0.0000, Lf: 0.0000, Ls: 0.0000, Recon-id: 6.0997, id: 3.1387, pid:2.7432, teacher: 0.0000 Elapsed time in update: 1.881756 Epoch: 00 Iteration: 00001119/00100000 DLoss: 2.9715 Reg: 0.0053 L_total: 19.6697, L_gan: 2.6888, Lx: 2.2801, Lxp: 2.8005, Lrecycle:0.0000, Lf: 0.0000, Ls: 0.0000, Recon-id: 4.9748, id: 3.3738, pid:3.5517, teacher: 0.0000 Elapsed time in update: 1.872519 Epoch: 00 Iteration: 00001120/00100000 DLoss: 2.9412 Reg: 0.0083 L_total: 27.2018, L_gan: 3.5204, Lx: 2.7357, Lxp: 3.2405, Lrecycle:0.0000, Lf: 0.0000, Ls: 0.0000, Recon-id: 6.1251, id: 5.6033, pid:5.9767, teacher: 0.0000 Elapsed time in update: 1.905725 Epoch: 00 Iteration: 00001121/00100000 DLoss: 2.9913 Reg: 0.0062 L_total: 23.0859, L_gan: 2.7672, Lx: 2.8575, Lxp: 3.2430, Lrecycle:0.0000, Lf: 0.0000, Ls: 0.0000, Recon-id: 4.9441, id: 3.9912, pid:5.2831, teacher: 0.0000 Elapsed time in update: 1.884052 Epoch: 00 Iteration: 00001122/00100000 DLoss: 2.9047 Reg: 0.0091 L_total: 26.8263, L_gan: 3.5744, Lx: 2.8879, Lxp: 3.3251, Lrecycle:0.0000, Lf: 0.0000, Ls: 0.0000, Recon-id: 6.6130, id: 5.2802, pid:5.1456, teacher: 0.0000 Elapsed time in update: 1.870903 Epoch: 00 Iteration: 00001123/00100000 DLoss: 2.9207 Reg: 0.0065 L_total: 23.1251, L_gan: 3.0145, Lx: 3.0704, Lxp: 3.3914, Lrecycle:0.0000, Lf: 0.0000, Ls: 0.0000, Recon-id: 4.5945, id: 3.7942, pid:5.2601, teacher: 0.0000 Elapsed time in update: 2.011813 Epoch: 00 Iteration: 00001124/00100000 DLoss: 3.0592 Reg: 0.0076 L_total: 26.3440, L_gan: 3.4274, Lx: 2.3585, Lxp: 2.7218, Lrecycle:0.0000, Lf: 0.0000, Ls: 0.0000, Recon-id: 6.1779, id: 6.2602, pid:5.3983, teacher: 0.0000 Elapsed time in update: 1.869946 Epoch: 00 Iteration: 00001125/00100000 DLoss: 2.9577 Reg: 0.0058 L_total: 26.9961, L_gan: 2.7294, Lx: 2.5079, Lxp: 2.7976, Lrecycle:0.0000, Lf: 0.0000, Ls: 0.0000, Recon-id: 6.9536, id: 7.3599, pid:4.6478, teacher: 0.0000 Elapsed time in update: 1.882983 Epoch: 00 Iteration: 00001126/00100000 DLoss: 2.9359 Reg: 0.0096 L_total: 23.7432, L_gan: 3.7142, Lx: 2.4785, Lxp: 2.9254, Lrecycle:0.0000, Lf: 0.0000, Ls: 0.0000, Recon-id: 5.4275, id: 3.7460, pid:5.4517, teacher: 0.0000

and I have a picture of a dress and a set of pictures of people, can I change the clothes of the people to the given clothes through this project and how do I do that?

layumi commented 4 years ago

Hi @y122302868 Yes. In the first 30000 iteration I did not use the teacher model.

5Yesterday commented 3 years ago

Hi @y122302868 Yes. In the first 30000 iteration I did not use the teacher model.

How to implement it in the code?

5Yesterday commented 3 years ago

It's the 'warm_teacher_iter'