From 22522d9bc36192c3b1fc35aa165e80c517469592 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Wed, 27 Apr 2011 14:50:54 -0400 Subject: get rid of bad constructor --- decoder/decoder.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/decoder/decoder.cc b/decoder/decoder.cc index ae20d25f..d2b64285 100644 --- a/decoder/decoder.cc +++ b/decoder/decoder.cc @@ -544,9 +544,6 @@ DecoderImpl::DecoderImpl(po::variables_map& conf, int argc, char** argv, istream w_init_weights.InitFromFile(str("weights",conf)); w_init_weights.InitVector(&init_weights); init_weights.resize(FD::NumFeats()); - - if (show_weights) - cerr << "Initial weights: " << WeightVector(init_weights)<()); + assert(!"this is broken"); FeatureVector dummy; // = last_weights + Oracle oc=oracle.ComputeOracle(smeta,&forest,dummy,10,conf["forest_output"].as()); if (!SILENT) cerr << " +Oracle BLEU forest (nodes/edges): " << forest.nodes_.size() << '/' << forest.edges_.size() << endl; if (!SILENT) cerr << " +Oracle BLEU (paths): " << forest.NumberOfPaths() << endl; oc.hope.Print(cerr," +Oracle BLEU"); -- cgit v1.2.3