공부한 것 정리(17)
-
우분투 듀얼부팅과 기본환경설정 / / dev/nvme0n1p3 : clean, xxx/xxx files, xxx/xxx blocks 오류 // 설치 후 검은 화면 오류
오류 해결은 맨 아래에 블로그 이전했어요 https://cccaaa.tistory.com/11 우분투 듀얼부팅과 기본환경설정 / / dev/nvme0n1p3 : clean, xxx/xxx files, xxx/xxx blocks 오류 // 설치 후 검 오류 해결은 맨 아래에 최근에 개발환경 설정할 일이 많아졌는데, 매번 하나하나 찾아보기 귀찮아서 정리해둠 하고자 하는 일은 C드라이브에 윈도우 깔린 컴(또는 노트북)에 우분투 20.04 LTS(21.08 cccaaa.tistory.com 최근에 개발환경 설정할 일이 많아졌는데, 매번 하나하나 찾아보기 귀찮아서 정리해둠 하고자 하는 일은 C드라이브에 윈도우 깔린 컴(또는 노트북)에 우분투 20.04 LTS(21.08기준 최신) D드라이브에 듀얼부팅하기 우분투 ..
2021.09.03 -
Error handling
RuntimeError: CUDA error: device-side assert triggered 1. /pytorch/aten/src/THCUNN/ClassNLLCriterion.cu:108: cunn_ClassNLLCriterion_updateOutput_kernel: block: [0,0,0], thread: [0,0,0] Assertion `t >= 0 && t 데이터셋 정의에서 -1값이 들어가면 오류 발생 => t >= 0 && t 혹은 CE 사용할 때 pred 인풋값이 (batch_size , num_classes) 인지 확인 // index_ignore = 해당인덱스 추가하기
2021.05.31 -
[error] TypeError: 'Tensor' object is not callable in custom loss
ref : https://discuss.pytorch.org/t/typeerror-tensor-object-is-not-callable/102931 TypeError: ‘Tensor’ object is not callable Hello,everyone. Newbie here, trying to learn pytorch. Recently, I’m using lstm or gru to do failure prediction. This is a binary classification problem ,so I use BCEWithLogitsLoss as the loss function, but finally, it is wrong. %matplotlib notebook impor discuss.pytorch.o..
2021.05.24 -
FLOPS란
블로그 이전했어요 https://cccaaa.tistory.com/17 FLOPS란 한국어 설명 ref : https://hongl.tistory.com/31r FLOPS (FLoating point OPerationS) - 플롭스 개발한 딥러닝 모델은 얼마나 빠를까요? 특히, 모바일 같은 저사양 디바이스에서의 딥 뉴럴 네트워크에서는 성능보다 cccaaa.tistory.com 한국어 설명 ref : https://hongl.tistory.com/31r FLOPS (FLoating point OPerationS) - 플롭스 개발한 딥러닝 모델은 얼마나 빠를까요? 특히, 모바일 같은 저사양 디바이스에서의 딥 뉴럴 네트워크에서는 성능보다는 해당 사양에서 원활히 돌아가는지가 서비스 측면에서 매우 중요합니다. h..
2021.05.23 -
[데이터프레임] 시리즈에서 최댓값, 최솟값 추출
A라는 시리즈의 최댓값 구하기 A.max(axis=0) 최솟값 구하기 A.min(axis=0) 데이터프레임에서 하나의 열만 추출해 시리즈로 만들고 사용하면 편리
2020.12.04