Skip to content

Commit dd044ec

Browse files
committed
fixed path bug
1 parent 8180542 commit dd044ec

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/.DS_Store

6 KB
Binary file not shown.

src/lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#import matplotlib.pyplot as plt
44
import numpy as np
55

6-
OUTPUT_FLD = 'results'
6+
OUTPUT_FLD = os.path.join('..','results')
77
PRICE_FLD = '/Users/xianggao/Dropbox/distributed/code_db/price coinbase/vm-w7r-db'
88

99
def makedirs(fld):

src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def main():
8484
exploration_min = 0.01
8585
window_state = 40
8686

87-
fld = os.path.join('data',db_type,db+'A')
87+
fld = os.path.join('..','data',db_type,db+'A')
8888
sampler = Sampler('load', fld=fld)
8989
env = Market(sampler, window_state, open_cost)
9090
model, print_t = get_model(model_type, env, learning_rate, fld_load)

0 commit comments

Comments
 (0)