Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refine ctc model code for English dataset. #991

Merged
merged 5 commits into from
Jun 21, 2018

Conversation

wanghaoshuang
Copy link
Contributor

  1. Remove a pooling layer.
  2. Change classes_num to 94.
  3. Modify some arguments in ctc_train.py
  4. Add learning rate decay policy.
  5. Fix readme.

root added 2 commits June 19, 2018 02:40
1. Remove a pooling layer.
2. Change classes_num to 94.
3. Modify some arguments in ctc_train.py
4. Add learning rate decay policy.
return decayed_lr


def cosine_decay(learning_rate, total_step):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove cosine_decay?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

for pass_id in range(args.pass_num):
batch_id = 1
iter_num = 0
while True:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove while True

@wanghaoshuang wanghaoshuang merged commit db1edc2 into PaddlePaddle:develop Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants