File size: 304 Bytes
c91d7b1
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import os
import os.path as osp

for file in os.listdir('./'):
    if "py" not in file:
        continue
    if 'rl' in file or 'nipa' in file or 'meta' in file or 'all' in file:
        continue
    if osp.isfile(file):
        print(file)
        os.system('CUDA_VISIBLE_DEVICES=0 python %s' % file)