注意这两个红框,要再绝对路径下,就直接写文件名字,不用再在前面加路径了。
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see http://www.intel.com/software/products/support/.
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.报错
在windows下面解决 set KMP_DUPLICATE_LIB_OK=TRUE,这个也可以在环境变量中设置,就可以不用每次都输入这个命令了。一定要用conda激活。
训练时一定要conda activate 环境名字。进行激活,然后再进入到训练的绝对路径,然后再进行命令的训练,这样就不会出错了。