Deep-Reinforcement-Learning-Algorithms-with-PyTorch
Deep-Reinforcement-Learning-Algorithms-with-PyTorch copied to clipboard
how to visualize the enviroment
trafficstars
Hello! I am wondering where i should put env.render() to visualize the environment?Thank you!
for the DQN agent
yes, same question. I find the answer: add the following line in agents/Base_Agent.py line 190
self.config.environment.render()
yes, same question. I find the answer: add the following line in agents/Base_Agent.py line 190
self.config.environment.render()
But this actually renders one frame per episode, not each step. To do so, that line of code should be put in step() in each Agent Class. Still trying it out...