diff options
| author | StevenLiuWen <liuwen@shanghaitech.edu.cn> | 2018-04-04 04:27:44 -0400 |
|---|---|---|
| committer | StevenLiuWen <liuwen@shanghaitech.edu.cn> | 2018-04-04 04:27:44 -0400 |
| commit | e0652e979feb4d9dd3a600f0f3ede5876aff3229 (patch) | |
| tree | 76d66002285ca60062773a7843114586bfb6d55d | |
| parent | 704ff5dc60df8654b3111d20037645fdd9d5c0b7 (diff) | |
modify DATA_DIR
| -rw-r--r-- | Codes/evaluate.py | 24 |
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 |
