Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- ICCV 2021
- 논문
- Python
- NeRF paper
- ICCV
- 논문리뷰
- Semantic Segmentation
- panoptic nerf
- Computer Vision
- 딥러닝
- NERF
- 논문 리뷰
- CVPR2023
- CVPR
- paper review
- Neural Radiance Field
- Deep Learning
- Paper
- GAN
- 리눅스
- IROS
- docker
- 경희대
- 2022
- Vae
- 융합연구
- pytorch
- 파이토치
- linux
- panoptic segmentation
Archives
- Today
- Total
목록runtime Error (1)
윤제로의 제로베이스
RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn
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..
Issue board/python
2023. 9. 25. 14:54