Skip to content

Commit

Permalink
update config file
Browse files Browse the repository at this point in the history
  • Loading branch information
L1aoXingyu committed Jul 29, 2020
1 parent a8c7e07 commit 64861ea
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 16 deletions.
2 changes: 1 addition & 1 deletion configs/DukeMTMC/AGW_R101-ibn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _BASE_: "../Base-AGW.yml"

MODEL:
BACKBONE:
DEPTH: 101
DEPTH: "101x"
WITH_IBN: True

DATASETS:
Expand Down
2 changes: 1 addition & 1 deletion configs/DukeMTMC/bagtricks_R101-ibn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _BASE_: "../Base-bagtricks.yml"

MODEL:
BACKBONE:
DEPTH: 101
DEPTH: "101x"
WITH_IBN: True

DATASETS:
Expand Down
2 changes: 1 addition & 1 deletion configs/DukeMTMC/sbs_R101-ibn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _BASE_: "../Base-Strongerbaseline.yml"

MODEL:
BACKBONE:
DEPTH: 101
DEPTH: "101x"
WITH_IBN: True

DATASETS:
Expand Down
2 changes: 1 addition & 1 deletion configs/MSMT17/AGW_R101-ibn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _BASE_: "../Base-AGW.yml"

MODEL:
BACKBONE:
DEPTH: 101
DEPTH: "101x"
WITH_IBN: True

DATASETS:
Expand Down
2 changes: 1 addition & 1 deletion configs/MSMT17/bagtricks_R101-ibn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _BASE_: "../Base-bagtricks.yml"

MODEL:
BACKBONE:
DEPTH: 101
DEPTH: "101x"
WITH_IBN: True

DATASETS:
Expand Down
2 changes: 1 addition & 1 deletion configs/MSMT17/sbs_R101-ibn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _BASE_: "../Base-Strongerbaseline.yml"

MODEL:
BACKBONE:
DEPTH: 101
DEPTH: "101x"
WITH_IBN: True

DATASETS:
Expand Down
2 changes: 1 addition & 1 deletion configs/Market1501/AGW_R101-ibn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _BASE_: "../Base-AGW.yml"

MODEL:
BACKBONE:
DEPTH: 101
DEPTH: "101x"
WITH_IBN: True

DATASETS:
Expand Down
2 changes: 1 addition & 1 deletion configs/Market1501/bagtricks_R101-ibn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _BASE_: "../Base-bagtricks.yml"

MODEL:
BACKBONE:
DEPTH: "101"
DEPTH: "101x"
WITH_IBN: True

DATASETS:
Expand Down
2 changes: 1 addition & 1 deletion configs/Market1501/sbs_R101-ibn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _BASE_: "../Base-Strongerbaseline.yml"

MODEL:
BACKBONE:
DEPTH: 101
DEPTH: "101x"
WITH_IBN: True

DATASETS:
Expand Down
9 changes: 9 additions & 0 deletions demo/run_bjz.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
python demo.py --config-file ../projects/bjzProject/logs/bjz/R50_512dim_circle_bjz_0618_8x3/config.yaml \
--input \
"/home/liaoxingyu2/lxy/logs/badcase/seed.jpg" \
"/home/liaoxingyu2/lxy/logs/badcase/leaf_0.4883.jpg" \
"/home/liaoxingyu2/lxy/logs/badcase/leaf_0.467.jpg" \
--output logs/R50_256x128_pytorch_feat_output \
--opts MODEL.WEIGHTS ../projects/bjzProject/logs/bjz/R50_512dim_circle_bjz_0618_8x32/model_final.pth \
MODEL.DEVICE "cuda: 2"

6 changes: 3 additions & 3 deletions demo/run_demo.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
python demo/visualize_result.py --config-file 'logs/dukemtmc/mgn_R50-ibn/config.yaml' \
--parallel --vis-label --dataset-name 'DukeMTMC' --output 'logs/mgn_duke_vis' \
--opts MODEL.WEIGHTS "logs/dukemtmc/mgn_R50-ibn/model_final.pth"
python demo/visualize_result.py --config-file logs/dukemtmc/mgn_R50-ibn/config.yaml \
--parallel --vis-label --dataset-name 'DukeMTMC' --output logs/mgn_duke_vis \
--opts MODEL.WEIGHTS logs/dukemtmc/mgn_R50-ibn/model_final.pth
7 changes: 3 additions & 4 deletions tools/deploy/run_export.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

python caffe_export.py --config-file "/export/home/lxy/cvpalgo-fast-reid/logs/dukemtmc/R34/config.yaml" \
python caffe_export.py --config-file /export/home/lxy/cvpalgo-fast-reid/logs/dukemtmc/R34/config.yaml \
--name "baseline_R34" \
--output "logs/caffe_R34" \
--opts MODEL.WEIGHTS "/export/home/lxy/cvpalgo-fast-reid/logs/dukemtmc/R34/model_final.pth"
--output logs/caffe_R34 \
--opts MODEL.WEIGHTS /export/home/lxy/cvpalgo-fast-reid/logs/dukemtmc/R34/model_final.pth

0 comments on commit 64861ea

Please sign in to comment.