pygta5: Access Denied Tensorflow Error?

Could not open C:\Users\User1\Desktop\aidrivers: Unknown: NewRandomAccessFile failed to Create/Open: C:\Users\User1\Desktop\aidrivers : Access is denied. ; Input/output error

Why is this happening? All i did was update to the newest pygta5? I tried putting it into another folder but that doesn’t seem to fix that error.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 25

Most upvoted comments

Did you modify the collect script and set the number of outputs (keys) to 17? If so you also need to change it in the training script. If you didn’t intend to do that can you show the code of your collection script?

On Jul 5, 2017 2:16 PM, “Daniel Mossaband” notifications@github.com wrote:

Hey @mantoone https://github.com/mantoone . I’m also having the same error. I changed

MODEL_NAME = ‘anything’

LOAD_MODEL = False

And I only have up to training_data-200.npy

So I set FILE_I_END = 200

And now I get

training/training_data-37.npy training_data-37.npy 500

Run id: anything Log directory: log/

Training samples: 450 Validation samples: 50

Cannot feed value of shape (64, 17) for Tensor ‘targets/Y:0’, which has shape ‘(?, 9)’ training/training_data-69.npy training_data-69.npy 500

Run id: anything Log directory: log/

Training samples: 450 Validation samples: 50

Cannot feed value of shape (64, 17) for Tensor ‘targets/Y:0’, which has shape ‘(?, 9)’ training/training_data-190.npy training_data-190.npy 500

Run id: anything Log directory: log/

Training samples: 450 Validation samples: 50

Cannot feed value of shape (64, 17) for Tensor ‘targets/Y:0’, which has shape ‘(?, 9)’ training/training_data-112.npy training_data-112.npy 500

Run id: anything Log directory: log/

Training samples: 450 Validation samples: 50

Cannot feed value of shape (64, 17) for Tensor ‘targets/Y:0’, which has shape ‘(?, 9)’ training/training_data-157.npy training_data-157.npy 500

Run id: anything Log directory: log/

Training samples: 450 Validation samples: 50

Cannot feed value of shape (64, 17) for Tensor ‘targets/Y:0’, which has shape ‘(?, 9)’ training/training_data-58.npy training_data-58.npy 500

Run id: anything Log directory: log/

Training samples: 450 Validation samples: 50

Cannot feed value of shape (64, 17) for Tensor ‘targets/Y:0’, which has shape ‘(?, 9)’ training/training_data-104.npy training_data-104.npy 500

Over and over until I stop it

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Sentdex/pygta5/issues/50#issuecomment-313074303, or mute the thread https://github.com/notifications/unsubscribe-auth/AFrn1RHdFGZeaUobJKRTlAHuJ1kBnbj9ks5sK3BsgaJpZM4N3tsc .

Great!

There’s a bug with the motion script. You need to add screen as a parameter to the function: So change: def motion_detection(t_minus, t_now, t_plus): To: def motion_detection(t_minus, t_now, t_plus, screen):

And in the test_model script add screen to the function call: https://github.com/Sentdex/pygta5/blob/master/3. test_model.py#L148

set MODEL_NAME = 'anything'

LOAD_MODEL = False