summaryrefslogtreecommitdiff
path: root/Codes
diff options
context:
space:
mode:
authorStevenLiuWen <liuwen@shanghaitech.edu.cn>2018-04-04 04:27:44 -0400
committerStevenLiuWen <liuwen@shanghaitech.edu.cn>2018-04-04 04:27:44 -0400
commite0652e979feb4d9dd3a600f0f3ede5876aff3229 (patch)
tree76d66002285ca60062773a7843114586bfb6d55d /Codes
parent704ff5dc60df8654b3111d20037645fdd9d5c0b7 (diff)
modify DATA_DIR
Diffstat (limited to 'Codes')
-rw-r--r--Codes/evaluate.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/Codes/evaluate.py b/Codes/evaluate.py
index 2bce871..cd0fcef 100644
--- a/Codes/evaluate.py
+++ b/Codes/evaluate.py
@@ -9,18 +9,18 @@ import socket
# data folder contain all datasets, such as ped1, ped2, avenue, shanghaitech, etc
-# DATA_DIR = '../Data'
-hostname = socket.gethostname()
-if hostname == 'dl-T8520-G10': # 119
- DATA_DIR = '/home/liuwen/ssd/datasets'
-elif hostname == 'admin' or hostname == 'compute101' or hostname == 'compute113' or hostname == 'compute106' \
- or hostname == 'compute107' or hostname == 'compute114': # node02
- DATA_DIR = '/home/luowx/liuwen/datasets'
-elif hostname == 'gpu13' or 'gpu14':
- DATA_DIR = '/public/home/gaoshenghua/liuwen/datasets'
-else:
- # raise NotImplementedError('Not found this machine {}!'.format(hostname))
- DATA_DIR = '../Data'
+DATA_DIR = '../Data'
+# hostname = socket.gethostname()
+# if hostname == 'dl-T8520-G10': # 119
+# DATA_DIR = '/home/liuwen/ssd/datasets'
+# elif hostname == 'admin' or hostname == 'compute101' or hostname == 'compute113' or hostname == 'compute106' \
+# or hostname == 'compute107' or hostname == 'compute114': # node02
+# DATA_DIR = '/home/luowx/liuwen/datasets'
+# elif hostname == 'gpu13' or 'gpu14':
+# DATA_DIR = '/public/home/gaoshenghua/liuwen/datasets'
+# else:
+# # raise NotImplementedError('Not found this machine {}!'.format(hostname))
+# DATA_DIR = '../Data'
# normalize scores in each sub video