Skip to content

Instantly share code, notes, and snippets.

View ichae's full-sized avatar

Cho, Hyunwoo ichae

  • KIST(Korea Institute of Science and Technology)
  • Seoul, Korea.
View GitHub Profile
@naotokui
naotokui / GAN-and-trainable.py
Last active October 14, 2021 19:46
How model.trainable = False works in keras (GAN model)
# coding: utf8
## based on this article: http://qiita.com/mokemokechicken/items/937a82cfdc31e9a6ca12
import numpy as np
from keras.models import Sequential
from keras.engine.topology import Input, Container
from keras.engine.training import Model
from keras.layers.core import Dense