Closed victorbai2 closed 3 years ago
Hi,
See these lines in the log:
AssertionError:
Found no NVIDIA driver on your system. Please check that you
have an NVIDIA GPU and installed a driver from
http://www.nvidia.com/Download/index.aspx
It seems that you did not use GPU when runnning
Hi,
See these lines in the log:
AssertionError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx
It seems that you did not use GPU when runnning
Yes, I do not have GPU in local env, is there a config that I can use to train it with CPU?
The current version of the code only support GPU, but you may replace all .cuda()
command to .to(flair.device)
.
The current version of the code only support GPU, but you may replace all
.cuda()
command to.to(flair.device)
.
Thanks, after replace few .cuda() configs, I am able to train it with CPU. BTW, did you change the Flair original code? I wonder if I could install a different version of Flair library.
Yes, I have changed a lot of code in the original code of Flair.
when I run "python train.py --config config/wnut17_doc.y", I got below error message
Here it stopped in pdb mode, after I entered C to continue, it threw error
"UnboundLocalError: local variable 'loss' referenced before assignment"