simoninithomas / Deep_reinforcement_learning_Course

Implementations from the free course Deep Reinforcement Learning with Tensorflow and PyTorch
http://www.simoninithomas.com/deep-rl-course
3.74k stars 1.23k forks source link

Getting error on 2 seperate cells with instantiating memory and running tensorboard with Doom. #66

Open GhettoBurger996 opened 4 years ago

GhettoBurger996 commented 4 years ago

I get an error on the 10th cell of the tutorial. The error states

ValueError: ('Cannot warp empty image with dimensions', (0, 180, 320))

Whenever, I rerun the cell the enemy moves left or right.

However, when I attempt to run the cell directly after it to initialize tensor board I get the following error.

PermissionDeniedError: /tensorboard; Permission denied

I've tried restarting the kernal, completely setting up a new notebook where I copied and pasted the code and downgraded numpy to version 1.16.3 since I was getting some random error whenever I ran the first cell. None of them seems to solve the problem.

Any help is much appreciated, thanks!

YoelShoshan commented 4 years ago

change into './tensorboard/...' to avoid the permission error

GhettoBurger996 commented 4 years ago

Thanks a ton! That seemed to fix the issue :+1:

GhettoBurger996 commented 4 years ago

I've encountered another problem now I'm still attempting to troubleshoot it, but whenever the agent runs up to a certain number of attempts 12-1 the entire PC crashes and restarts. I've copied the code as is and haven't changed anything I've checked RAM consumption that isn't the issue, I've got CUDA and Nvidia drivers installed properly. I'm not sure what seems to be the cause of the problem.

Any ideas ?