10 lines
389 B
Python
10 lines
389 B
Python
|
|
#!/usr/bin/env python3
|
||
|
|
import os, sys
|
||
|
|
os.environ['PYTHONUNBUFFERED'] = '1'
|
||
|
|
os.environ['NUMBA_CACHE_DIR'] = '/tmp/numba_cache'
|
||
|
|
log = open('/mnt/dolphinng5_predict/MALKHUT/malkhut/results/long_learning_5h_log.txt', 'w')
|
||
|
|
os.dup2(log.fileno(), 1)
|
||
|
|
os.dup2(log.fileno(), 2)
|
||
|
|
os.chdir('/mnt/dolphinng5_predict/MALKHUT')
|
||
|
|
os.execv(sys.executable, [sys.executable, '-m', 'malkhut.long_learning_5h'])
|