提交 8ec57349 编写于 作者: Z zhangxuefei

BUG that lack the defination of linear_warmup_decay function

上级 03b66704
...@@ -117,7 +117,6 @@ class AdamWeightDecayStrategy(DefaultStrategy): ...@@ -117,7 +117,6 @@ class AdamWeightDecayStrategy(DefaultStrategy):
def execute(self, loss, main_program, data_reader, config): def execute(self, loss, main_program, data_reader, config):
# calculate wamrup step # calculate wamrup step
dev_count = self._get_dev_count(config) dev_count = self._get_dev_count(config)
num_train_examples = data_reader.get_num_examples(phase='train')
data_reader.data_generator( data_reader.data_generator(
batch_size=config.batch_size, phase='train', shuffle=True) batch_size=config.batch_size, phase='train', shuffle=True)
data_reader.data_generator( data_reader.data_generator(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册