deep-learning-with-python-notebooks
deep-learning-with-python-notebooks copied to clipboard
Jupyter notebooks for the code samples of the book "Deep Learning with Python"
The shape of `conv_layer_output_value` is (1, 14, 14, 512), and the shape of `pooled_grads_value` is (512, ). So it will cause IndexError when multiple `conv_layer_output_value[:, :, i]` with `pooled_grads_value[i]` in...
No listings of chapter 07
This issue occured when I learned the Visualizing convnet filters. I tried the code as below but the grid didn't show the resluts as it said. I get the table...
When I use LSTM instead of GRU as the "Going even further" part suggests: The Stacked LSTM part loss and val loss both are nan:  Why LSTM and...
I am trying to train model with data-augmentation generators on TensorFlow 2.0 using below code. ```python train_datagen = ImageDataGenerator(rescale=1. / 255, rotation_range=40, width_shift_range=0.2, height_shift_range=0.2, shear_range=0.2, zoom_range=0.2, horizontal_flip=True) test_datagen = ImageDataGenerator(rescale=1....
I've checked out the code you propose. However I can't figure out why at the end of the first epoch the training freezes and the notebook keeps running endlessly. Epoch...
This issue occurred when I tried to visualize heatmaps of class activation. First, I copied the sample code on the e-book and got this error: ``` IndexError Traceback (most recent...
I tried the code related to Deep Dream and ran into this warning: WARNING:tensorflow:Variable += will be deprecated. Use variable.assign_add if you want assignment to the variable value or 'x...
when i try the second technique we mentioned for doing feature extraction, the accuracy is about 90% ,but the book said it should be 96%