failed call to cuInit: CUDA_ERRO

2022-01-06  本文已影响0人  纵春水东流

The true answer is to add following line of code:

import os
os.environ['CUDA_VISIBLE_DEVICES'] = "0"
上一篇 下一篇

猜你喜欢

热点阅读