-
[Warning] Thread issue (OMP_NUM_THREADS=1)Programing/Python 2023. 3. 2. 11:26
문제점:
KMeans is known to have a memory leak on .... You can avoid it by setting the environment variable OMP_NUM_THREADS=1 해결책: 아래 환경 옵션 추가. 단, 해당 옵션은 numpy 패키지를 import 하지 전에 적용되어야만 함
import os
os.environ['OMP_NUM_THREADS'] = '1''Programing > Python' 카테고리의 다른 글
주식 정보 크롤링 및 필터링 (0) 2023.03.03 [python] string to list (0) 2023.03.02 [jupiter] Install package (0) 2023.02.06 [python] Automatically ceate a requirements.txt (0) 2022.07.18 [VSCode] pandas is not installed (0) 2021.08.25