From 749456bd600c623ed327420949bab677656ae1f8 Mon Sep 17 00:00:00 2001 From: Peng Li Date: Thu, 1 Dec 2016 19:20:46 +0800 Subject: [PATCH] Fix test_layerHelpers bug The values for ____crf_layer_0__.w0 in python/paddle/trainer_config_helpers/tests/configs/protostr/test_cost_layers.protostr is not correct due to swapped height and width in config_parser --- .../tests/configs/protostr/test_cost_layers.protostr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/paddle/trainer_config_helpers/tests/configs/protostr/test_cost_layers.protostr b/python/paddle/trainer_config_helpers/tests/configs/protostr/test_cost_layers.protostr index f6045fe1f68..2c16ebcf81c 100644 --- a/python/paddle/trainer_config_helpers/tests/configs/protostr/test_cost_layers.protostr +++ b/python/paddle/trainer_config_helpers/tests/configs/protostr/test_cost_layers.protostr @@ -225,9 +225,9 @@ parameters { name: "___crf_layer_0__.w0" size: 24 initial_mean: 0.0 - initial_std: 0.5 - dims: 4 + initial_std: 0.408248290464 dims: 6 + dims: 4 initial_strategy: 0 initial_smart: true } -- GitLab