From 2b4296a2c5c05010944f9eb3185d672cc8833a4f Mon Sep 17 00:00:00 2001 From: shaoniangu Date: Mon, 25 Mar 2019 23:06:48 +0800 Subject: [PATCH] Modify readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4c11d73..da7baee 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ python3 tools/train.py --config_file='configs/softmax_triplet_with_center.yml' M ``` ## Test -You can test your model's performance directly by running these commands in `.sh ` files. You can also change the configuration to determine which feature of BNNeck and whether the feature is normalized (equivalent to use Cosine distance or Euclidean distance) for testing. +You can test your model's performance directly by running these commands in `.sh ` files. You can also change the configuration to determine which feature of BNNeck is used and whether the feature is normalized (equivalent to use Cosine distance or Euclidean distance) for testing. Please replace the data path of the model. @@ -154,5 +154,6 @@ python3 tools/test.py --config_file='configs/softmax_triplet_with_center.yml' MO 3. Test with Cosine distance using feature after BN with re-ranking ```bash -python3 tools/test.py --config_file='configs/softmax_triplet_with_center.yml' MODEL.DEVICE_ID "('your device id')" DATASETS.NAMES "('dukemtmc')" TEST.NECK_FEAT "('after')" TEST.FEAT_NORM "('yes')" TEST.RE_RANKING "('yes')" TEST.WEIGHT "('your path to trained checkpoints') +python3 tools/test.py --config_file='configs/softmax_triplet_with_center.yml' MODEL.DEVICE_ID "('your device id')" DATASETS.NAMES "('dukemtmc')" TEST.NECK_FEAT "('after')" TEST.FEAT_NORM "('yes')" TEST.RE_RANKING "('yes')" TEST.WEIGHT "('your path to trained checkpoints')" ``` +