Skip to content

defudef/deno-reinforcement-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reinforcement Learning running on Deno with GPU acceleration

Written on Tensorflow.js

This is an example of Reinforcement learning running in Deno. Written on top of the tfjs. Just a create (o) trying to reach the goal (E)

Nagranie.z.ekranu.2024-11-30.o.20.17.42.mov

Install Deno 2

https://docs.deno.com/runtime/getting_started/installation/

Install dependencies

deno install

Run training

deno run train

Enjoy!

And observe how this tiny creature is trying to reach the goal

TODO:

  • add environment variables for hyper parameters
  • save and load models
  • implement Replay Buffer for better performance
  • add more scenarios: mazes, deadly obstacles, enemies, multiple agents

About

Reinforcement learning made in tensorflow.js for Deno 2 (including GPU usage)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published