I am using pytorch to train a DQN model. With ubuntu, if I use htop, I get
As you can see, all resources are used and I am a bit worried about that. Here is my code.
Is there a way to use less resource? Do I have to add my requirement using pytorch?
Be aware that there's no GPUs on my machine, just CPUs