맥 데이터 세트가 mnist 오류로드 (:) SIGABRT 종료 코드 (134) 완료 프로세스 (신호 6에 의해 중단)

첫째, 환경 :

맥 OS
pycharm
tensorflow 1.14
NumPy와 16.04

둘째, 오류 설명 :

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/.
[1]    5792 abort      python mnist.py

세 가지 이유 :

프로그램. 이 성능을 저하 또는 잘못된 결과를 초래할 수 있기 때문에 위험합니다. 을 확인하는 가장 좋은 방법은 예를 들어, 피할 어떤 라이브러리에서의 OpenMP 런타임의 연결 정적을 사용하여, 하나의 OpenMP 런타임 프로세스에 연결되어 있습니다. 안전하지 않은으로 지원되지 않는, 문서화 솔루션, 당신은 KMP_DUPLICATE_LIB_OK = TRUE이 프로그램을 계속 할 수 있도록 설정 한 환경 변수를 설정할 수 있지만이 충돌로 이어질 또는 잘못된 결과가 발생할 수 있습니다. 자세한 내용은 http://www.intel.com/software/products/support/를 참조하십시오.
종단 파이썬 mnist.py

넷째, 문제를 해결하기 위해 :

1, 실행을 차례로 누르고 구성 편집 열
그림 삽입 설명 여기
2, 개방 환경 구성
그림 삽입 설명 여기
3, 환경 설정 : KMP_DUPLICATE_LIB_OK = TRUE
그림 삽입 설명 여기

게시 45 개 원래 기사 · 원 찬양 28 ·은 10000 +를 볼

추천

출처blog.csdn.net/m0_43505377/article/details/103945714