-
Notifications
You must be signed in to change notification settings - Fork 823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access Denied Tensorflow Error? #50
Comments
set
|
Okay that fixed it kinda but now there's a new error. It can't actually find any npy files when they are there.
|
Where did you save the files? It works fine for me, but I did need to change the paths in the scripts. |
I made a new folder and saved it to my desktop |
If you want to save the recorded data there change the line https://github.com/Sentdex/pygta5/blob/master/1.%20collect_data.py#L101 |
Okay but it's also doing the same errors to the other files, like training data and testing data. but im sure testing data is just acting like that cause well training data file isn't working, i'll try your step |
Alright this isn't working Training data is just refusing to work, There must be something wrong with the current code. (It skips -1 ) It's not even training anymore. |
Did you check that the folder contains those files? I needed to adjust the FILE_I_END variable. Take a look at https://github.com/Sentdex/pygta5/blob/master/Versions/v0.03/2.%20train_model.py#L11 If you have data until training_data-100.npy, change it to FILE_I_END = 100 |
The folder has training data 1 and 2 , that's it |
Try FILE_I_END = 2 |
Also doing what you told me above allowed me to train finally, but running into this problem ^^ |
Great! There's a bug with the motion script. You need to add screen as a parameter to the function: And in the test_model script add screen to the function call: |
Okay now it's giving this error |
I suppose delta_count should be delta_count_last on the line: |
Okay well that somehow worked but it's still not training. I waited 1 hour for it to train and it "trained" yet the file never updated. and just started to repeat. |
What was the output from the "2. train_model.py" script? Did you add the same MODEL_NAME to the test_model script? |
I added the same model name, There's no error other then MODEL SAVED. then it just repeats the same training data over and over |
The model is saved every 10th epoch. It should finish automatically when it's done. By default after 30 epochs (30 passes over the data). |
Hey @mantoone . I'm also having the same error. I changed
And I only have up to So I set And now I get
Over and over until I stop it |
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" ***@***.***> 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
<#50 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFrn1RHdFGZeaUobJKRTlAHuJ1kBnbj9ks5sK3BsgaJpZM4N3tsc>
.
|
@mantooneoops I did change it. Thanks mate |
You're welcome!
|
@mantoone It would be nice if you did a pull request on your fix for screen not defined in motion. I think many people have the same problem |
@frossaren There it is now: #64 |
Great!
Den 12 aug. 2017 18:18 skrev mantoone <notifications@github.com>:
@frossaren<https://github.com/frossaren> There it is now: #64<#64>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#50 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ATxZZ-TGTx19VqCI66rUvlDjISTcohHXks5sXdA-gaJpZM4N3tsc>.
|
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.
The text was updated successfully, but these errors were encountered: