[Deep_Learning] Keras Model Summary Save

Keras Model Summary Save

from contextlib import redirect_stdout

with open('modelsummary.txt', 'w') as f:
    with redirect_stdout(f):
        model.summary()
RiverZayden

RiverZayden

AI Data Scientist

댓글