VAC_CSLR
VAC_CSLR copied to clipboard
Question about CPU or GPU error
I ran your code and found the following error, where are the parameters put into the GPU?
Traceback (most recent call last):
File "main.py", line 218, in
I haven't met this problem before. It seems like it is about switches between native and cudnn in earlier discussion about pytorch discussion
The recent version of pytorch adopt two different ways for different backends:
For native:
checkAllSameGPU(c, {log_probs_arg, targets_arg});
For cudnn:
checkBackend(c, {*log_probs}, Backend::CUDA); checkBackend(c, {*targets}, Backend::CPU);
You can debug based on your pytorch version and the backend used (torch.backends.cudnn.enabled).
what is your pytorch version?Thanks
1.10.0 and 1.10.1 works for me.
My pytorch is also 1.10.0,What is your ctcdecode version?
When I run main.py, the following error occurs:
(your) (base) quchunguang@ubuntu:~/sunday/CSLR$ python main.py
Loading model
Traceback (most recent call last):
File "main.py", line 207, in
The version has been presented in Readme, it seems like you did not install ctcdecoder successfully.