-
Notifications
You must be signed in to change notification settings - Fork 9
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
Not able to run the pre-trained model #20
Comments
Please note that the command line takes named arguments, so you have to write in the format of |
yeah I have given it in that format |
I re-checked the code now and it runs correctly on my machine. I made a slight change in the path for
|
Command: |
Thanks for sharing, I'll take a look when I get some time. Meanwhile, I have checked that the code works without any of the arguments except for |
Looking into your command-line call, I noticed a few errors:
Here is a corrected version of your command-line call:
|
Thank you so much. Will execute and update. |
I tried running with the updated command, I am trying to run on a Windows Machine with no GPU. |
Yes, please make sure the paths are correct in both the main python file and the .yml config file. |
The paths in loader_v2.py come from the .yml file, so please make sure those are accurate. |
I changed all the path, now the code is running but I am getting few errors due to CUDA. I made the no-cuda default to True. |
Try without the multiple GPU flag, so just using a single GPU. The parallelization code may have some issues due to pytorch versioning, which will require separate debugging. |
Okay, but I am not having GPU in my system. So the code won't work for systems with NO - GPU? |
If you check line 93 in processor_v2.py (previous commit), the code automatically switches to CPU if no GPU is available. I have made this more explicit in the code so it pre-emptively follows the |
Still getting the same error |
I tried running the code in a system with GPU, everything work fine, but I am getting a error in Caching test data 0/26245 |
Check the file path. The error simply says that the file path is incorrect. If you don't have the preprocessed dataset, do not set the |
Can you report the error stack trace when running on CPU? I am not able to replicate the error on my machine. |
Hii, Is this the correct way of extracting a .pth.tar file? I even tried tried keep the .pth.tar model file in models folder and gave the path in the code, but still its showing same model not found eror |
Yeah will re-try once and will update you. |
|
I tried creating log.txt file but still the model not found error persists |
Can you try debugging the code on your machine to make sure the model path is being read correctly? Can you check which return call of the method |
There is a error in caching the test data, the folder is created but the 000000.npz file is not generated. |
Could you please copy-paste the command-line code and the text of the stack trace instead of pasting the screenshot? The text helps me in copy-pasting and save a lot of time when running searches or trying to reproduce the errors. |
Command line code : Reading data 'data\ted_db\lmdb_test_s2ag_v2_cache_mfcc_14'... |
I've fixed the pathing issue. Could you try one more time with the new code? |
Hi sir, I cloned the repo and installed all dependencies but when I am trying to run, it throws error saying unrecognoized arguments
The text was updated successfully, but these errors were encountered: