강의

멘토링

커뮤니티

Inflearn Community Q&A

1986seoul0598's profile image
1986seoul0598

asked

[Tensorflow2] Complete conquest of Python machine learning - Marathon record prediction project

텐서플로2.0 202소스코드 에러

Written on

·

200

0

안녕하세요,

텐서플로 2.0 코드 202번 소스코드를 다운 받은 다음에

바로 실행을 시켰는데 Predict를 실행하면 

 Line 111에서 이부분 :winner = [ t_g, t_y, t_p ]

NameError: name 't_y' is not defined 에러가 뜨는데요

찾아보니 정말 이 라인 이전에 t_y가 정의가 되어있지를 않습니다.

creApple에서 받은 소스코드인데 혹시 수정된 소스코드가 있나요?

감사합니다.

머신러닝 배워볼래요? tensorflowkeras컴퓨터-비전

Answer 1

0

nomad님의 프로필 이미지
nomad
Instructor

안녕하세요?

제가 소스코드를 보니    

winner = [ t_g, t_a, t_p ]

라고 t_y를 t_a로 바꾸는 것이 맞겠네요. 

강의 소스코드 변경해 두겠습니다.

감사합니다.

1986seoul0598's profile image
1986seoul0598

asked

Ask a question