解决OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.问题
import osos.environ["CUDA_VISIBLE_DEVICES"] = "True"os.environ['KMP_DUPLICATE_LIB_OK'] = 'TRUE'可以翻译这句话:CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU.出现的是GPU版本和pyt
·
import os os.environ["CUDA_VISIBLE_DEVICES"] = "True" os.environ['KMP_DUPLICATE_LIB_OK'] = 'TRUE'
可以翻译这句话:CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU.
出现的是GPU版本和pytorch适用的问题。已经解决了
更多推荐

所有评论(0)