-
Notifications
You must be signed in to change notification settings - Fork 177
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
torch type mismatch error #37
Comments
@silnos If you do manage to fix this, please post an update/solution! |
I managed to execute train.py, but not yet confirmed training was successful or not.
And there was also error in train.py
|
Thanks, I implemented this on my copy as well. I'm still getting another error: I'm wondering if you've run this on Librispeech? |
@silnos, could you share your config file?? are you using the default included example?? |
@arattari Yes I am using default json file in examples/timit. I haven't tried librispeech With timit examples, I got the 2x.x % error rate, and I am not sure this is okay or not yet. |
With python3.6, pytorch0.4.1, cuda9.0,
|
if torch.sum(y.data == end_tok) == y.numel(): |
For someone using "transducer" .... After convert check_type() function of "libs/transducer/functions/transducer.py" to below code, I can pass this error.
After this, I added code at certify_inputs() and forward().
|
After these, I got these warnings while training.
|
With python3.6, pytorch0.4.1, cuda9.0,
I got the following error when I run train.py with timit example:
If I add
torch.set_default_tensor_type('torch.cuda.FloatTensor')
in main function,error becomes:
Do you have idea to solve this?
The text was updated successfully, but these errors were encountered: