Skip to content

Remove unnecessary declaration and substitution of 'done' in the train_agent function #271

Merged
muupan merged 5 commits intochainer:masterfrom
uidilr:master
May 29, 2018
Merged

Remove unnecessary declaration and substitution of 'done' in the train_agent function #271
muupan merged 5 commits intochainer:masterfrom
uidilr:master

Conversation

@uidilr
Copy link
Copy Markdown
Contributor

@uidilr uidilr commented May 16, 2018

The declaration and substitution of 'done' in the train_agent function is unnecessary because 'done' is created and substituted by env.step and it has proper value for training.

The results of pytest with gpu is:

 6124 passed, 147 warnings in 1592.54 seconds 

Update of .gitignore is included in this PR

@muupan
Copy link
Copy Markdown
Member

muupan commented May 29, 2018

Good point. Thanks for your contribution.

@muupan muupan merged commit bad57aa into chainer:master May 29, 2018
@muupan muupan added this to the v0.4 milestone Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants