summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2014-02-28 16:35:35 +0100
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2014-02-28 16:35:35 +0100
commit531f6e06cfdd145ac6e6589a0d0d520e84417481 (patch)
tree69e5036f64a03c77483bfdeb9cf50298a45c986f
parentf8283d3f58588e00c2f4887f130bc91d891ad76f (diff)
fix
-rwxr-xr-xrampfion.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/rampfion.rb b/rampfion.rb
index 23bedcb..04aec09 100755
--- a/rampfion.rb
+++ b/rampfion.rb
@@ -7,7 +7,8 @@ require 'memcached'
require_relative './hopefear'
-SMT_SEMPARSE = 'python /workspace/grounded/smt-semparse-cp/decode_sentence.py /workspace/grounded/smt-semparse-cp/working/full_dataset'
+# FIXME
+SMT_SEMPARSE = 'python /workspace/grounded/smt-semparse-cp/decode_sentence.py /workspace/grounded/smt-semparse-cp/working/tgttosrc'
EVAL_PL = '/workspace/grounded/wasp-1.0/data/geo-funql/eval/eval.pl'
$cache = Memcached.new('localhost:11211')
@@ -110,7 +111,7 @@ def main
own_references = nil
own_references = references.map{ |i| nil } if cfg[:variant]=='only_exec'
- w = SparseVector.from_file cfg[:init_weights]
+ w = SparseVector.from_file cfg[:init_weights], ' '
last_weights_fn = ''
cfg[:iterate].times { |iter|