malkhut: configurable friction per scenario + 5h learning test
This commit is contained in:
9
MALKHUT/run_learning_5h_wrapper.py
Normal file
9
MALKHUT/run_learning_5h_wrapper.py
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/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'])
|
||||
Reference in New Issue
Block a user