인프런 커뮤니티 질문&답변
에러가 나는데 원인을 모르겠습니다.
작성
·
253
0
11-5 학습하기에서 아래와 같은 에러가 나는데 원인을 모르겠네요, 코드는 첨부해주신 코드로 돌려도 동일한 에러가 발생합니다.
RuntimeError: Trying to backward through the graph a second time (or directly access saved variables after they have already been freed). Saved intermediate values of the graph are freed when you call .backward() or autograd.grad(). Specify retain_graph=True if you need to backward through the graph a second time or if you need to access saved variables after calling backward.
답변 1
0





빠른 안내 감사합니다