aboutsummaryrefslogtreecommitdiff
path: root/config/joint_simple_mlp_tgtcls_1_cswdtx.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/joint_simple_mlp_tgtcls_1_cswdtx.py')
-rw-r--r--config/joint_simple_mlp_tgtcls_1_cswdtx.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/joint_simple_mlp_tgtcls_1_cswdtx.py b/config/joint_simple_mlp_tgtcls_1_cswdtx.py
index c4bc2fb..5da4130 100644
--- a/config/joint_simple_mlp_tgtcls_1_cswdtx.py
+++ b/config/joint_simple_mlp_tgtcls_1_cswdtx.py
@@ -1,3 +1,4 @@
+import os
import cPickle
from blocks.initialization import IsotropicGaussian, Constant
@@ -11,7 +12,7 @@ n_end_pts = 5
n_valid = 1000
-with open("%s/arrival-clusters.pkl" % data.path) as f:
+with open(os.path.join(data.path, 'arrival-clusters.pkl')) as f:
dest_tgtcls = cPickle.load(f)
# generate target classes for time prediction as a Fibonacci sequence