본문 바로가기
ERROR

Graph execution error:Detected at node 'sequential_1/embedding_1/embedding_lookup'

by ram_ 2023. 2. 21.

model.fit하는 과정에서 Graph execution error:Detected at node 'sequential_1/embedding_1/embedding_lookup' 

해당 에러가 떴다. 

코드를 뜯어보니 model을 구축하는 과정에서 Embedding의 숫자를 잘못 지정해주었었다. 

수정한 뒤, 정상 작동 되었다.

 

처음에 코드 오타를 발견하지 못하고 구글링했을때 멘붕이었다 ..

같은 에러가 뜨는 사람은 엄청 많은데 그 누구도 해결책을 몰랐기에 .. 단순 오기입이었어서 정말 다행이었다.

 

https://github.com/keras-team/keras/issues/17368

 

InvalidArgumentError: Graph execution error: · Issue #17368 · keras-team/keras

I am trying to make an image classification program. I am following a video and I ran into some problems, some I think I solved, and others I just couldn't. I am trying to create a model with T...

github.com