我现在在我的 Windows 设备上安装了 AMD Radeon(TM) 显卡,目前正在训练 NER 模型。这是我在命令行上写的(我已经根据计算机中的路径更改了
config.cfg
并确保一切正常):
python -m spacy train config.cfg --output ./output --paths.train ./train.spacy --paths.dev ./dev.spacy --gpu-id 1
但是,我这样说时出错:
ValueError: No GPU devices detected
所以我的问题是,如何解决这个错误?在搜索我的设备节点强名称时,我得到它是 PCI\VEN_1002&DEV_164C&SUBSYS_887A103C&REV_C2 我尝试使用 1002 作为 GPU ID,但仍然没有运气。