稀疏更新方式,训练出错
Created by: PseudoProgrammer
paddle1103版本,使用sparse_update加速,train.log报错
16[1,29]:TypeError: init() got an unexpected keyword argument 'sparse_remote_update'
Thu Dec 1 11:54:24 2016[1,29]:Traceback (most recent call last):
Thu Dec 1 11:54:24 2016[1,29]: File "", line 2, in
Thu Dec 1 11:54:24 2016[1,29]: File "trainer/config_parser.py", line 3036, in parse_config_and_serialize
Thu Dec 1 11:54:24 2016[1,29]:
Thu Dec 1 11:54:24 2016[1,29]:config = parse_config(config_file, config_arg_str)
Thu Dec 1 11:54:24 2016[1,29]: File "trainer/config_parser.py", line 3012, in parse_config
Thu Dec 1 11:54:24 2016[1,29]:
Thu Dec 1 11:54:24 2016[1,29]:execfile(config_file, make_config_environment(config_file, config_args))
Thu Dec 1 11:54:24 2016[1,29]: File "conf/trainer_config.conf", line 51, in
Thu Dec 1 11:54:24 2016[1,29]:
Thu Dec 1 11:54:24 2016[1,29]:Layer(inputs = [Input("input1", parameter_name = "_layer1_1.w")], name = "layer1_1", bias = Bias(parameter_name = "_layer1_1.bias"), active_type = "tanh", type = "fc", size = 40, drop_rate = 0.5, sparse_remote_update = True)
Thu Dec 1 11:54:24 2016[1,29]: File "trainer/config_parser.py", line 2736, in Layer
Thu Dec 1 11:54:24 2016[1,29]:
Thu Dec 1 11:54:24 2016[1,29]:layer_func(name, **xargs)
Thu Dec 1 11:54:24 2016[1,29]: File "trainer/config_parser.py", line 1430, in init
Thu Dec 1 11:54:24 2016[1,29]:
Thu Dec 1 11:54:24 2016[1,29]:super(FCLayer, self).init(name, 'fc', size, inputs=inputs, **xargs)
Thu Dec 1 11:54:24 2016[1,29]:TypeError
Thu Dec 1 11:54:24 2016[1,29]::
Thu Dec 1 11:54:24 2016[1,29]:init() got an unexpected keyword argument 'sparse_remote_update'
Thu Dec 1 11:54:24 2016[1,29]: