Skip to content

Lab 06-1 Softmax Classification Eager예제에서 compile오류 #24

@globalq64

Description

@globalq64

[Lab 06-1 Softmax Classification Eager]의 마지막 예제
[# Convert as Class]

Tensorflow 2.0으로 코드수정하여 실행하고 있습니다.
앞부분은 문제없이 실행됩니다만, 마지막 Class예제 실행과정에서 다음오류 발생했습니다.

RuntimeError: You must compile your model before training/testing. Use model.compile(optimizer, loss).

의견 부탁드립니다. 감사합니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions