Skip to content

Commit

Permalink
show model summary
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuke-a-uchida committed Apr 27, 2018
1 parent 9ffee15 commit f9243ad
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion wide_resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,15 @@ def __call__(self):
predictions_a = Dense(units=101, kernel_initializer=self._weight_init, use_bias=self._use_bias,
kernel_regularizer=l2(self._weight_decay), activation="softmax",
name="pred_age")(flatten)

model = Model(inputs=inputs, outputs=[predictions_g, predictions_a])

return model


def main():
model = WideResNet(64)()
model.summary()


if __name__ == '__main__':
main()

0 comments on commit f9243ad

Please sign in to comment.