np.savez_compressed()
import numpy as np
mu = np.array([0.5, 0.5])
sigma = np.array([0.5, 0.5])
np.savez_compressed(paths[1], mu=mu, sigma=sigma)
np.load()
with np.load(path) as f:
m, s = f['mu'][:], f['sigma'][:]
'Utils' 카테고리의 다른 글
INTEL MKL ERROR/faiss 버전문제 해결 (0) | 2025.02.13 |
---|---|
Stochastic Differential Equation (SDE) 자료 공유 (0) | 2022.02.08 |
git-lfs (Large File System, LFS) 통해 대용량 데이터/레포지토리 다운받기 (0) | 2021.10.18 |
Overleaf로 논문쓸 때 필요한 것들: LaTex 표 만들기/수식 편집기/Latexit/ChatGPT (2) | 2021.03.12 |
Windows terminal 설치 / 설정 변경하기 / 다양한 shell 추가하기 (anaconda prompt, cmder) (0) | 2021.01.20 |