edbeeching / godot_rl_agents

An Open Source package that allows video game creators, AI researchers and hobbyists the opportunity to learn complex behaviors for their Non Player Characters or agents
MIT License
942 stars 69 forks source link

Support discrete action spaces of n>2 #69

Closed visuallization closed 1 year ago

visuallization commented 1 year ago

Hey there,

I am slowly switching my project to the latest changes on godot3.5 which utilizes a lot of features from the current main branch. Currently it does not support discrete action spaces which are n>2 but I would need this to work as my agent has discrete action spaces of n==3.

Is there any chance, this might be added soon?

Thanks for all your efforts so far!

Cheers, Florentin

visuallization commented 1 year ago

Okay I created a small PR which seems to fix the issue. What's your take on it?

https://github.com/edbeeching/godot_rl_agents/pull/70

edbeeching commented 1 year ago

Ok to close this?

visuallization commented 1 year ago

@edbeeching yes! :)