change config file

This commit is contained in:
liaoxingyu 2020-09-10 10:58:56 +08:00
parent 4d573b8107
commit 3c48bf78c1
3 changed files with 6 additions and 5 deletions

View File

@ -9,9 +9,7 @@ MODEL:
WITH_NL: False
HEADS:
NAME: "ReductionHead"
POOL_LAYER: "maxpool"
REDUCTION_DIM: 256
EMBEDDING_DIM: 256
LOSSES:
NAME: ("CrossEntropyLoss", "TripletLoss",)

View File

@ -8,7 +8,7 @@ MODEL:
HEADS:
NECK_FEAT: "after"
POOL_LAYER: "gempool"
POOL_LAYER: "gempoolP"
CLS_LAYER: "circleSoftmax"
SCALE: 64
MARGIN: 0.35

View File

@ -6,12 +6,15 @@ MODEL:
NORM: "BN"
DEPTH: "50x"
LAST_STRIDE: 1
FEAT_DIM: 2048
WITH_IBN: False
PRETRAIN: True
PRETRAIN_PATH: "/export/home/lxy/.cache/torch/checkpoints/resnet50-19c8e357.pth"
HEADS:
NAME: "BNneckHead"
NAME: "EmbeddingHead"
NORM: "BN"
WITH_BNNECK: True
POOL_LAYER: "avgpool"
NECK_FEAT: "before"
CLS_LAYER: "linear"