From 531f6e06cfdd145ac6e6589a0d0d520e84417481 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 28 Feb 2014 16:35:35 +0100 Subject: fix --- rampfion.rb | 5 +++-- 1 file 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| -- cgit v1.2.3