Re:Ask HN: What (side-)project are you working on?
by Jugurtha on Wednesday March 17, 2021 @08:31AM
(#26490129)
Cool. How are you going about this ? Set up, stack, approches, experiments, using the model, etc. What's a typical playing session like ?
Re:Ask HN: What (side-)project are you working on?
by lukehack on Wednesday March 17, 2021 @08:54AM
(#26490393)
The stack is basic. I develop on an old lenovo laptop and test for a few dozen frames(you can learn a lot without a CUDA GPU) before pushing it to a desktop with a cheap nvidia card. It uses pytorch and pyboy, and the model is just a couple Conv2d expansions and compressions before hitting a Linear layer outputting predicted reward for certain keypresses(basically). The model training is based off of deep Q learning. I'm looking at a pytorch tutorial[1] when I get stuck, but I'm trying to fumble around and try it myself as much as possible before looking at it.
I have an idea to have variable Q training propagation based on the amplitude of the reward so that bigger rewards propagate more, but I haven't got there yet.
Here is a great video on reinforcement learning[2].
[1] https://pytorch.org/tutorials/intermediate/mario_rl_tutorial...
Neural nets in general are much less complicated than I thought they would be, at least as a practitioner.