ws-18-19-deep-learning-tutorial

Deep Learning and Artificial Intelligence Tutorial @ LMU WS 2018/19

View the Project on GitHub changkun/ws-18-19-deep-learning-tutorial

Ex 8-1

a)

Unit test if fit_linear works properly.

b)

Why reproducibility is important?

How to ensure reproducibility?

c)

Loss is NaN.

d)

from tensorflow.python import debug as tf_debug

...

if debug:
    session = tf_debug.LocalCLIDebugWrapperSession(session)

e)

output = dense_layer(h, 'output_layer', 1)
output = sigmoid(output) # here cause negative outputs

Ex 8-2

a)

b)

c)

d)

tensorboard_callback = tf.keras.callbacks.TensorBoard(
    experiment_dir, write_graph=True, write_images=True,
    histogram_freq=1)
callbacks = [tensorboard_callback]