일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- 리눅스
- GAN
- CVPR
- Neural Radiance Field
- paper review
- 융합연구
- NeRF paper
- 논문
- 딥러닝
- CVPR2023
- Python
- Vae
- ICCV 2021
- IROS
- 논문리뷰
- 2022
- pytorch
- ICCV
- Paper
- Computer Vision
- 파이토치
- NERF
- 경희대
- linux
- panoptic segmentation
- 논문 리뷰
- panoptic nerf
- Deep Learning
- Semantic Segmentation
- docker
- Today
- Total
목록Issue board (6)
윤제로의 제로베이스
딥러닝 프로그램을 돌리다가 내가 가끔 중간에 강제 종료시킨 것들이 누적되었는지 shared memory에러가 발생했다. RuntimeError: DataLoader worker is killed by signal: Bus error. It is possible that dataloader's workers are out of shared memory. Please try to raise your shared memory limit. 이런 에러가 발생해서 왜지 하고 찾아보니 shared memory를 넘치면서 발생하는 에러라고 나왔다. 실제로 df -h로 봤을 때 이미 사용중인 shared memory가 56%라고 써져있었다. (아무 프로그램도 돌리고 있지 않았는데도) 그래서 shared memory를 지..
pre trained model을 가져와서 일부 레이어에만 requires_grad=True로 해두었는데 loss를 계산하니 loss.backward() 부분에서 런타임 에러가 났다. RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn 아래와 같이 loss.requires_grad_(True)를 추가해주니 잘 돌아간다. optimizer.zero_grad() loss.requires_grad_(True) # 추가 loss.backward() optimizer.step() 출처: https://yjs-program.tistory.com/210 RuntimeError: element 0 of tensors d..
NeRF pytorch 코드를 돌리다가 자꾸 이 에러가 뜨길래 에러 해결 법을 찾아보았다. optimizer = optim.Adam(...) optimizer.param_groups[0]['capturable'] = True optimizer 에서 'capturable'을 true로 바꿔줘야한다... https://normal-engineer.tistory.com/321 [에러기록] assertionerror: if capturable=false, state_steps should not be cuda tensors. pytorch 안에서 adam을 쓸 때 자꾸 위와 같은 에러가 떠서 이를 위해 optimizer = optim.Adam(func.parameters(), lr=args.lr) optimiz..

특정 폴더에 파일이 있는지 없는지 확인하기 위해서 이 기능을 정말 많이 쓰게 되는데 자꾸 까먹어서 적어둠ㅎ

mask 색상을 바꾸느라 numpy로 opencv를 좀 다뤘는데 아래와 같은 오류가 발생했다. 그래서 왜 안되지..? 똑같은 array인데 왜 imshow()를 못 하지..?!?! 하고 찾아본 결과... 단순한 dtype오류였다.... opencv에서 이미지를 띄우려면 uint8 타입이 필요하다고 한다! 오류 cv2.error: OpenCV(4.5.1) /tmp/pip-req-build-ms668fyv/opencv/modules/highgui/src/precomp.hpp:137: error: (-215:Assertion failed) src_depth != CV_16F && src_depth != CV_32S in function 'convertToShow' 오류 코드 해결 방법 참고 자료 https:/..
Deep Leanring을 위해서는 보통 다른 모델 코드를 가져다 쓰기도 하고, github를 가져다가 시범적으로 돌려보기도 하면서 여러 버전들이 많이 필요하게 되어 필연적으로 anaconda를 쓰게 된다. 근데 매번 어떻게 쓰는지 까먹어서 여기다가 조금 남겨놓는다. conda create -n 이름 python=원하는 버전 이게 가장 일반적으로 많이 쓰게 된다. 근데 보통 git clone을 해서 긁어오게 되면 보통 그 안에 requirements.txt로 요구하는 버전들이 모두 담겨져 있다. 이럴 경우에는! conda create -n 이름 --file requirements.txt 이처럼 한 번에 다운 받는 방법도 있기는 하다. 근데 간혹 conda에서 설치할 수 없는 패키지가 있는 경우가 있기도 ..