simoninithomas/Deep_reinforcement_learning_Course

atari spaceinvaders tensorboard permission denied and models not found

wishesrepo opened this issue · 0 comments

Hi the current implementation of Atari Spaceinvaders has several errors and i think all related to tensorboard. The first error comes from the first execution of tensorboard with the line
writer = tf.summary.FileWriter("/tensorboard/dqn/1") I avoided this by putting a " . " in front of the first backslash.

the second error is related to tensorboard locations once again with models

saver.restore(sess, "./models/model.ckpt")

I tried copying the notebook and running on mac and i got the explained errors. I have no way of avoiding the errors related to running the lines of code with model.ckpt. I tried commenting out tensorboard but the code still does not run. I have tried both on my local mac and on an online AWS instance with the same errors.

  • Edit:

I found out i had problems with outdated tf. version in tensorflow and also i had to change my hyperparameters in Training and Rendering.

its solved