-
Notifications
You must be signed in to change notification settings - Fork 62
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
ValueError: Cannot feed value of shape (256, 9, 129) for Tensor 'model/labels:0', which has shape '( #17
Comments
Please verify your log directory is clean, if not, the program automatically re-load previous model so that mismatch can occur.
I'm really sorry about your effort because of code problems. Cheer up and If you have another question, please tagging me again. |
Also the first problem you mentioned is not the code problem, but some environmental problem. How about changing your environment to ubuntu 16.04 from window? Actually, all of my projects were run in ubuntu 16.04 so I cannot expect my project will run in window correctly. Also, my co-workers had not suffered from code problems to run this project in ubuntu environment. |
Do you mean that the two mode models should be defined the same when I run the code? Is it the form in the picture below? I will try to run your project in the ubantu environment, if I have any questions, I will ask you again. |
Don't change the code and at first, just set mode='fnn' (basic mode) Also, clean your files in logs. and remove some .npy in your data directory (if .npy exists) |
When I ran the main.py , the following error occurred.
![001](https://user-images.githubusercontent.com/43559584/60655695-c9ca6d80-9e80-11e9-8da6-a703d14ca1cf.png)
![003](https://user-images.githubusercontent.com/43559584/60655803-f2eafe00-9e80-11e9-9ffb-1ffb4e1cd313.png)
![002](https://user-images.githubusercontent.com/43559584/60655934-26c62380-9e81-11e9-870b-1c89000cd06a.png)
![004](https://user-images.githubusercontent.com/43559584/60656173-96d4a980-9e81-11e9-8a94-0a9cedc10158.png)
![005](https://user-images.githubusercontent.com/43559584/60656174-976d4000-9e81-11e9-8b12-5d6ea560f6b7.png)
![006](https://user-images.githubusercontent.com/43559584/60656386-ea46f780-9e81-11e9-80ae-ff4d7c1f6b14.png)
When I ran the main.py, the following error occurred.At this point, the model used is fnn.
Later, when I checked the fnn model in the trnmodle.py, I found the cause of the error.
However, I did not modify the parameters or commands in the datareader.py. and the same error occurred when I used the lstm model.
ValueError: Cannot feed value of shape (256, 9, 129, 1) for Tensor 'model/inputs:0', which has shape '(?, 129, 1, 1)'
However, my RAW file is made using the MATLAB program you gave, for example
Excuse me, what should I do to solve this problem?Is there any wrong operation when I am making RAW files? I made all the voices in the TRAIN folder in TIMIT into the RAW files needed in the SE, and did not set the verification file.
And I read your paper. The neural network used in the TSN algorithm you proposed in the paper is DNN. Is that right?
@jtkim-kaist
The text was updated successfully, but these errors were encountered: