neural_sp icon indicating copy to clipboard operation
neural_sp copied to clipboard

bash run error

Open xiexukang opened this issue 3 years ago • 2 comments

Traceback (most recent call last): File "/home/qidongchen/xxk/neural_sp/examples/aishell/s5/../../../neural_sp/bin/lm/train.py", line 341, in save_path = pr.runcall(main) File "/home/qidongchen/anaconda3/envs/torch1.15/lib/python3.7/cProfile.py", line 121, in runcall return func(*args, **kw) File "/home/qidongchen/xxk/neural_sp/examples/aishell/s5/../../../neural_sp/bin/lm/train.py", line 176, in main benchmark=not is_transformer and args.cudnn_benchmark) File "/home/qidongchen/xxk/neural_sp/neural_sp/models/base.py", line 101, in cudnn_setting assert self.use_cuda AssertionError we use train.py not error, but we use bash run , it show not cuda,my torch have gpu support

xiexukang avatar Dec 25 '20 13:12 xiexukang

@xiexukang Can you show me your command to start training on the terminal?

hirofumi0810 avatar Dec 28 '20 22:12 hirofumi0810

i had the same problem, i check the run.sh and i set the variable gpu is to 8. At first I thought it's the number of gpu, fix it and will be ok

jinggaizi avatar Feb 20 '21 08:02 jinggaizi