成功解决OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.

在运行YOLOv3的过程中,遇到了如下问题:

OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.

解决办法:
在代码前面加上:

import os
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"

成功解决OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized._第1张图片
成功运行

你可能感兴趣的:(python,深度学习)