opencog / rocca

Rational OpenCog Controlled Agent (ROCCA). Use OpenCog to control a rational agent in OpenAI Gym and Malmo environments.
GNU Affero General Public License v3.0
30 stars 18 forks source link

Port to use MineRL for interfacing with Minecraft (simple) #18

Closed ntoxeg closed 3 years ago

ntoxeg commented 3 years ago

This changes ROCCA to use MineRL’s Gym API for Minecraft instead of the previous custom wrapper.

I had to extend the GymWrapper to handle dictionaries for observations and actions. There were no changes to underlying algorithms.

This is a reduced PR, excluding the later changes that introduced nbdev and VS Code devcontainers.

ntoxeg commented 3 years ago

@ngeiswei I’ve fixed import errors for the other examples (chase, cart pole).

ngeiswei commented 3 years ago

@ntoxeg, I intend to look at this PR today, so if you have any remaining commit to push, now would be a good time.

ngeiswei commented 3 years ago

I was able to run your navigate agent. Everything looks great, thanks again for your contribution, very much appreciated!!!