파일 실행시킬 때 로그에 .py 파일도 같이 저장하는 방법
motivation: import os import shutil # 결과 파일이 저장될 경로를 설정 pth_rst_exp = os.path.join(pth_rst, args.compare) # pth_rst_exp 여기가 저장하고 싶은 폴더명 os.makedirs(pth...
motivation: import os import shutil # 결과 파일이 저장될 경로를 설정 pth_rst_exp = os.path.join(pth_rst, args.compare) # pth_rst_exp 여기가 저장하고 싶은 폴더명 os.makedirs(pth...
motivation: lsun dataset download가 시간이 너무 많이 걸리는데, 단축하는 방법 lsun dataset 다운받는 방법 https://github.com/fyu/lsun 여기에 lsun dataset을 다운받을 수 있는 download.py가...
motivation: 주식 자동매매, renaissance technologies 포트폴리오 따라하기 여기서 검색함: https://www.sec.gov/edgar/searchedgar/cik https://www.sec.gov/edgar/browse/?CIK=103...
motivation: pytorch paramter 보는 방법 정리 def format_params(num_params): if num_params >= 1e9: return f"{num_params / 1e9:.2f} G" elif num_...
motivation: ddpm 코드 분석 원본 코드: https://github.com/lucidrains/denoising-diffusion-pytorch/blob/main/denoising_diffusion_pytorch/denoising_diffusion_pytor...