2a5a95166612e8bd459a672bf77352d1a572f343,train_imgreid_xent_htri.py,,main,#,36
Before Change
criterion_xent = CrossEntropyLoss(num_classes=dm.num_train_pids, use_gpu=use_gpu, label_smooth=args.label_smooth)
criterion_htri = TripletLoss(margin=args.margin)
optimizer = init_optimizer(model, **optimizer_kwargs(args))
scheduler = lr_scheduler.MultiStepLR(optimizer, milestones=args.stepsize, gamma=args.gamma)
if args.evaluate:
print("Evaluate only")
After Change
criterion_xent = CrossEntropyLoss(num_classes=dm.num_train_pids, use_gpu=use_gpu, label_smooth=args.label_smooth)
criterion_htri = TripletLoss(margin=args.margin)
optimizer = init_optimizer(model, **optimizer_kwargs(args))
scheduler = init_lr_scheduler(optimizer, **lr_scheduler_kwargs(args))
if args.evaluate:
print("Evaluate only")
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 8
Instances
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 2a5a95166612e8bd459a672bf77352d1a572f343
Time: 2019-02-08
Author: k.zhou@qmul.ac.uk
File Name: train_imgreid_xent_htri.py
Class Name:
Method Name: main
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 2a5a95166612e8bd459a672bf77352d1a572f343
Time: 2019-02-08
Author: k.zhou@qmul.ac.uk
File Name: train_imgreid_xent_htri.py
Class Name:
Method Name: main
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 2a5a95166612e8bd459a672bf77352d1a572f343
Time: 2019-02-08
Author: k.zhou@qmul.ac.uk
File Name: train_imgreid_xent.py
Class Name:
Method Name: main
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 2a5a95166612e8bd459a672bf77352d1a572f343
Time: 2019-02-08
Author: k.zhou@qmul.ac.uk
File Name: train_vidreid_xent.py
Class Name:
Method Name: main
Project Name: KaiyangZhou/deep-person-reid
Commit Name: 2a5a95166612e8bd459a672bf77352d1a572f343
Time: 2019-02-08
Author: k.zhou@qmul.ac.uk
File Name: train_vidreid_xent_htri.py
Class Name:
Method Name: main