fast-reid/configs/Base-AGW.yml
Xingyu Liao 883fd4aede
add configurable decorator & linear loss decouple (#441)
Summary: Add configurable decorator which can call `Baseline` with `Baseline(cfg)` or `Baseline(cfg, heads=heads, ...)`
Decouple linear and loss computation for partial-fc support.

Reviewed By: l1aoxingyu
2021-03-23 12:10:06 +08:00

20 lines
285 B
YAML

_BASE_: Base-bagtricks.yml
MODEL:
BACKBONE:
WITH_NL: True
HEADS:
POOL_LAYER: GeneralizedMeanPooling
LOSSES:
NAME: ("CrossEntropyLoss", "TripletLoss")
CE:
EPSILON: 0.1
SCALE: 1.0
TRI:
MARGIN: 0.0
HARD_MINING: False
SCALE: 1.0