혼자 공부하는 머신러닝 + 딥러닝 책에서 p.354쪽에서 dense

55 views
Skip to first unread message

nos lee

unread,
Mar 26, 2024, 3:58:10 AMMar 26
to 머신러닝/딥러닝 도서 Q&A
혼자 공부하는 머신러닝 + 딥러닝 책에서 p.354쪽에서 dense 객체를 만들고 모델을 만들려고 하였지만 자꾸  TypeError: 'Dense' object is not iterable 에러가 발생합니다... 어떻게 해결해야 하나요??

라는 질문이 이미 있더군요.

저자님의 링크대로 코랩에서 실행하면 에러 없구요, vs-code에서 실행하니
UserWarning: Do not pass an `input_shape`/`input_dim` argument to a layer. When using Sequential models, prefer using an `Input(shape)` object as the first layer in the model instead.  이렇게 나옵니다.

설명 좀 해주세용~~

Haesun Park

unread,
Apr 4, 2024, 8:45:59 PMApr 4
to nos lee, 머신러닝/딥러닝 도서 Q&A
안녕하세요. 박해선입니다.
이 책은 예제 실행에 코랩을 사용합니다.
독자들의 컴퓨터 환경이나 IDE에서 일어난 문제를 제가 원격에서 파악하기 어려운 점 양해 부탁드립니다.
감사합니다.

2024년 3월 26일 (화) 오후 4:58, nos lee <wpo...@gmail.com>님이 작성:
--
이 메일은 Google 그룹스 '머신러닝/딥러닝 도서 Q&A' 그룹에 가입한 분들에게 전송되는 메시지입니다.
이 그룹에서 탈퇴하고 더 이상 이메일을 받지 않으려면 ml-dl-book-qn...@googlegroups.com에 이메일을 보내세요.
웹에서 이 토론을 보려면 https://groups.google.com/d/msgid/ml-dl-book-qna/66a9993c-0db4-47ee-a837-ca51461e0ed5n%40googlegroups.com을(를) 방문하세요.
Reply all
Reply to author
Forward
0 new messages