louis030195 / prismarine-gym

train minecraft agents using reinforcement learning (inspired by https://gym.openai.com/)
MIT License
9 stars 0 forks source link

Distributed training #2

Open louis030195 opened 3 years ago

louis030195 commented 3 years ago

First off, I doubt deep RL can work (RL without deep learning isn't really interesting imho) without distributed training, e.g. enough data.

First need to make it work as single instance ofc, I see something like:

louis030195 commented 3 years ago

image https://excalidraw.com/#json=5157858798731264,hkwKyNJz1IXqulSZ7K6Y4A

or in a sort of "federated learning" manner with X models with maybe some weights sharing in-between (need to dig distributed training options)

image https://excalidraw.com/#json=4786774228336640,tXjHK7wVutBTXxtaml-M9g

worker = flying-squid (or any minecraft server)

louis030195 commented 3 years ago

Unsure the distributed part should be in this repo or a wrapper around it to make it easier to do distributed training (and if its splitable ofc)

louis030195 commented 3 years ago

Going for option 1, i.e. non-multi-agent first, it's much simpler image https://excalidraw.com/#json=6238340198170624,bp6qjjPRP9rzQWdIo4Mtng