From e0652e979feb4d9dd3a600f0f3ede5876aff3229 Mon Sep 17 00:00:00 2001 From: StevenLiuWen Date: Wed, 4 Apr 2018 04:27:44 -0400 Subject: modify DATA_DIR --- Codes/evaluate.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'Codes/evaluate.py') 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 -- cgit v1.2.3-70-g09d2