Skip to content

Commit 1b7be76

Browse files
committed
Change data path
1 parent 08feef4 commit 1b7be76

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

configs/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use_gpu: True
22

33
model:
44
name: 'osnet_ain_x0_5'
5-
load_weights: '/home/lab314/HDD/Hsuan/models/osnet_ain_x0_5/model_best.pth.tar'
5+
load_weights: '/USER-DEFINED-PATH/model_best.pth.tar'
66
pretrained: False
77

88
data:

test.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
DATA_DIR="/home/lab314/HDD/Dataset"
1+
DATA_DIR="/USER-DEFINED-PATH/Dataset/"
22
CONFIG_FILE="configs/test.yaml"
33

44
echo "Begin to test."
5-
export CUDA_VISIBLE_DEVICES=4
5+
export CUDA_VISIBLE_DEVICES=0
66
python scripts/main.py \
77
--config-file ${CONFIG_FILE} \
88
--root ${DATA_DIR} \

train.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DATA_DIR="/nfs/datasets/"
1+
DATA_DIR="/USER-DEFINED-PATH/Dataset/"
22
CONFIG_FILE="configs/osnet_ain_x0_5.yaml"
33

44
echo "Begin to train."

0 commit comments

Comments
 (0)