ViZDoom icon indicating copy to clipboard operation
ViZDoom copied to clipboard

Collecting Episodes from an in-game Bot

Open agopal42 opened this issue 5 years ago • 1 comments

How can I collect episodes (instead of simply using a random policy agent) from an in-game bot for scenarios such as TakeCover, Defend the Center, Deadly Corridor etc? Is there a feature that allows me to do this? Thank you.

agopal42 avatar Feb 17 '20 17:02 agopal42

Hmm there could be a way to do this with some hackery, but no, there is no built-in/premade solution for this in ViZDoom. I do not think they would work too well for those scenarios, either, as they make so many restrictions on the player.

But, if you want to have some decent demonstrations quickly, you could try using the example learning code to train an agent and use it to record demonstrations. You could also try other RL libraries like stable-baselines if their agents work in ViZDoom.

Miffyli avatar Feb 21 '20 19:02 Miffyli