cs231n [collectSubmission.sh/makepdf.py] FileNotFoundError: [Errno 2] No such file or directory: 'knn.pdf'
·
Error
cs231n 과제 제출을 위해 .ipynb, .py 파일들을 pdf로 변환하고자 collect_submission.ipynb 파일을 실행시켰는데 오류가 발생합니다. [문제 해결]처음 collectSubmission.sh를 실행하기 이전에 pandoc 라이브러리도 같이 설치하면서 해결할 수 있습니다.%cd drive/MyDrive%cd $FOLDERNAME!sudo apt-get install texlive-xetex texlive-fonts-recommended texlive-plain-generic!pip install PyPDF2!sudo apt-get install pandoc!bash collectSubmission.sh[문제점 찾기]%cd drive/MyDrive%cd $FOLDERNAME!su..
Error(s) in loading state_dict for model: Missing Key(s) in state_dict: "xxxx", Unexpected Key(s) in state_dict: "aa.xxxx"
·
Error
문제 pretrained weight를 불러와 모델에 올릴 때 parameter name이 달라서 오류 발생 model = Model() model.load_state_dict(torch.load('pretrained_weight.pth')) 오류 메시지 RuntimeError: Error(s) in loading state_dict for Model: Missing key(s) in state_dict: "backbone.conv1.weight", "backbone.bn1.weight", ... , Unexpected key(s) in state_dict: "module.backbone.conv1.weight", "module.backbone.bn1.weight", ... 해결 모델의 parameter..
RuntimeError: CUDA error: out of memoryCUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.For debugging consider passing CUDA_LAUNCH_BLOCKING=1.Compile with `TORCH_USE_CUDA_DSA` to enab..
·
Error
문제 GPU 상의 cache를 정리해주기 위해 torch.cuda.empty_cache() 사용 시 에러 torch.cuda.empty_cache() >> RuntimeError: CUDA error: out of memoryCUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.For debugging consider passing CUDA_LAUNCH_BLOCKING=1.Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions. 해결 with torch.cuda.device('cuda..
The remote host may not meet VS Code Server's prerequisites for glibc and libstdc++
·
Error
문제 vscode로 서버 연결이 안됨 오류 메시지 1) Vscode error : The remote host not meet VS Code Server's prerequisites for glibc and libstdc++ 2) 서버 컴퓨터 킬 때 에러 메시지 : Failed to start MySQL Community Server -> 서버 컴퓨터 내 디스크 용량 부족으로 인한 에러로 파악 해결 1) 서버 접속이 가능한지 확인 2) putty로 서버 접속 후 용량 확인 -> /dev/nvme0nlp2 경로의 이용중인 용량이 100%임을 알 수 있음. 쓸데없는 파일, 폴더 삭제 후 vscode로 재접속 3) 서버 리부팅 및 vscode 접속 확인 -> 정상 부팅 완료, vscode 접속 에러 해결