일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
- IEEE
- LaTeX
- WOX
- 옵시디언
- Dear abby
- 우분투
- 텝스공부
- JAX
- ChatGPT
- teps
- Numerical Analysis
- 에러기록
- MATLAB
- Statics
- Julia
- 수식삽입
- 생산성
- Zotero
- Linear algebra
- 고체역학
- 수치해석
- pytorch
- 인공지능
- 딥러닝
- 텝스
- Python
- matplotlib
- 논문작성법
- obsidian
- 논문작성
- Today
- Total
목록분류 전체보기 (430)
뛰는 놈 위에 나는 공대생
1. wsl 설치 일단은 wsl를 설치해야한다. default 버전은 wsl 1이 아니라 wsl 2일 것이다. (본인이 윈도우 11이라면)설치 방법은 간단하다. 관리자 권한으로 명령 프롬프트를 실행한다. wsl --install 설치 후에는 wsl에서 벗어나서 버전 체크를 할 수 있다. wsl -l -v 2. wsl 세팅과 관련된 내용 WSL을 설치하고 겪을 수 있는 문제를 해결해야 한다. 2-1) CPU, 메모리 점유 문제 WSL을 쓰다보면 vmmem이 메모리의 80퍼센트를 점유한다. CPU 역시 빌드할 때 WSL 프로세스가 최대 100퍼센트까지 사용 가능하다. 따라서 .wslconfig 파일을 작성해서 %USERPROFILE% 폴더에 저장해준다. 이 때 메모장으로 작성하더라도 txt로 저장하는 게 ..
우리나라 운전면허를 국제운전면허로 발급받으면 미국의 일부 주에서 바로 사용이 가능하다.조지아주의 경우에는 상호협약이 맺어져 있어서 총영사관의 공증서를 들고 Georgia Department of Driver Services에 찾아가면 된다. 여기서 나의 전제는1) F-1 비자라서 I-20 레터가 있다.2) 거주지 증명이 2개 이상 있다.2-1) 여기서 말하는 거주지 증명은, 본인의 거주지를 증명하는 서류(집 계약서, 기숙사 증빙 등) + 은행 서류에 있는 자신의 주소지 or 자신에게 날라온 공식 우편물 등이 될 수 있다.3) 하지만 SSN은 아직 발급이 되지 않은 상태 나와 비슷한 상황이라면 이 방법이 먹힐 것이다. SSN이 있으면 좋고, 없어도 된다는 뜻이다. 필독사항 https://overseas...
저는 유학 준비를 한 사람입니다. 유학만 검색해도 좋은 정보들은 차고 넘친다고 생각해서 굳이 그 수많은 정보 홍수 속에 물 한 방울 더 떨어뜨리는 것이 별로 의미는 없다고 생각합니다. 그래서 이 글은 그냥 제가 느낀 점을 쓰는 것이고 누군가에게 도움이 되기 위해 작성된 것은 아님을 미리 알립니다. 0. 유학 동기 생각보다 유학을 생각하는 사람들 생각은 다양하다고 느꼈습니다. 지금 있는 연구실이 마음에 안 들어서 나가는 사람도 있고, 더 나은 연구 기회를 위해 가는 사람도 있고, 외국 취업을 위해 가는 사람도 있습니다. 저는 한국에 대한 미련과 애정이 많은 사람이라 '왜 가야만 하는가'에 대한 고민이 많았습니다.결론적으로는 유학을 고민하게 된 그 순간에 어떤 감정과 생각이 흘러갔는지를 정확하게 짚고 넘어가..
JAX에서 함수 연산 속도를 빠르게 하기 위해서 @jit을 사용해서 jit compile을 한다.보통 입력이 jax array나 튜플이면 크게 문제가 되지 않는데 나의 경우에는 사용하고 싶은 함수 내용이 복잡해지면서 class를 쓰고 싶었다. 특정 변수들을 모아놓은 집합을 계속 옮겨야 했기 때문이다.(structure와 비슷하게) 그런데 class를 argument로 쓰면 다음과 같은 오류를 보게 된다. TypeError: Cannot interpret value of type as an abstract array; it does not have a dtype attribute 이 때 사용해야 하는 것이 pytree이다. 1. Pytree의 정의 In JAX, we use the term pyt..
이 글에서는 overleaf나 latex에서 참고문헌을 삽입하는 방법에 대해서 다룬다.본인이 서지프로그램(endNote, Zotero, Mendeley 등)을 쓰고 있다면 bib 파일을 출력해서 쉽게 사용할 수 있지만가장 기본적인 방법부터 패키지 사용법에 대해 다룬다.자세하게 옵션을 설정하는 것은 나중에 작성한다. bibtex 파일은 대부분의 논문 사이트에서 제공하는 서지 파일 형식이다. 이 bibtex를 모아서 bib 파일을 직접 만들 수도 있다. 1. 기본 방법 참고문헌을 삽입할 때는 일일이 bibitem으로 넣어주는 방법이 가장 기본적일 것이다. \begin{thebibliography}{widest entry} \bibitem[label1]{cite_key1} bibliographic inf..
기존에 있는 environment에서 설정을 바꾸고 싶어서 기존 environment를 상속한 다음에 custom하는 코드를 만든다. 나의 경우에는 initial state를 지정하고 싶어서 따로 만들었다. import gymnasium as gymimport numpy as npimport randomfrom IPython.display import clear_outputimport matplotlib.pyplot as pltfrom gym.envs.toy_text.frozen_lake import FrozenLakeEnvclass CustomFrozenLakeEnv(FrozenLakeEnv): def __init__(self, is_slippery=False, initial_state=0): ..
jupyer lab/notebook을 쓰다가 kernel이 터지는 경우가 있는데 다음과 같은 경우들이 있다. https://github.com/microsoft/vscode-jupyter/wiki/Kernel-crashes Kernel crashesVS Code Jupyter extension. Contribute to microsoft/vscode-jupyter development by creating an account on GitHub.github.com 내가 겪은 대표적인 원인들은 다음과 같다.1. 라이브러리 설치 실패 - 호환 안됨 등의 문제2. gpu에 업로드한 데이터가 너무 많아서 문제 1번의 경우에는 재설치하고 버전 호환을 신경써서 설치해야한다. 아나콘다 등의 버전 관리 시스템을 쓰면..
올해 비자발급 프로세스를 거친 과정 기록 1. I-20 서류 받기 이 프로세스는 학교 측에서 처리를 해줘야 한다.내가 입학한 학교의 경우에는 나에게 특정 financial certification form와 여권 사본을 제출하도록 했다.RA나 TA와 같이 펀딩을 받는 경우에는 Expected expense 대비 펀딩을 비교해서 대충 맞는다고 내면 되는데그렇지 않은 경우에는 계좌 인증을 하는 등 본인이 학비와 생활비를 낼 여력이 있다는 것을 증명해야 한다. 그렇게 하면 I-20 서류를 학교에서 전달해준다. 처음에 F비자인지 J비자인지 학교에서 물어보는데 교환학생과 같이 단기로 다녀오는 게 아니라면 보통 F비자를 신청하는 게 맞다.자세한 내용은 다음 링크 참고 : https://usa-esta.net/ko/..
대부분 패키지는 __version__ 방법이 권장된다고 한다.import matplotlibmatplotlib.__version__>> '1.1.1'import numpyprint(numpy.__version__)
다음 글 참고 : https://github.com/google/jax/issues/5733 Jax throws internal XLA error for sufficiently large batched outer product on GPU · Issue #5733 · google/jaxCode: import jax.numpy as jnp A = jnp.ones((4, 1024*1024, 1)) B = jnp.ones((4, 1024*1024, 1)) tot = 0 def f(A, B): return A[:,:,None,:] * B[:,None, :, :] f(A, B) throws /usr/local/lib/python3.6/dis...github.com 너무 많은 메모리를 요구해서 발생하는 에러.실제로..