mirror of
https://github.com/wassname/rl_2d_walker.js.git
synced 2026-09-09 11:33:20 +08:00
plot time delays
This commit is contained in:
@@ -79,6 +79,7 @@ Agent.prototype.step = function () {
|
||||
info.loss = this.brain.learn(reward)
|
||||
this.action = this.brain.policy(state)
|
||||
info.x = this.steps
|
||||
info.time = new Date().getTime()
|
||||
this.infos.push(info)
|
||||
}
|
||||
if (this.action) {
|
||||
|
||||
Reference in New Issue
Block a user