GDL_code
GDL_code copied to clipboard
The official code repository for examples in the O'Reilly book 'Generative Deep Learning'
if n_bars * n_steps_per_bar < x.shape[0]: data_ints.append(x[counter:(counter + (n_bars * n_steps_per_bar)),:])
/content/drive/My Drive/mommy/GDL_code/utils/loaders.py in load_music(data_name, filename, n_bars, n_steps_per_bar) 269 counter += 4 270 --> 271 if n_bars * n_steps_per_bar < x.shape[0]: 272 data_ints.append(x[counter:(counter + (n_bars * n_steps_per_bar)),:]) 273 AttributeError: 'str' object...
So we can listen the results
In 7-2 notebook, why the default epoch is set to 200000?
Hey there - thanks for writing such a great book, and releasing the code! I'm looking forward to your next book on reinforcement learning too! I trained your variational autoencoder...
I am unable to find the `yaml` file to follow along with the book. Kindly let us know if it is intended and will be added at a later date...
`(x_train,y_train),(x_test,y_test)=cifar10.load_data() ` doesn't not work on colab, but this does: ``` import numpy as np import tensorflow as tf from keras.utils import to_categorical from keras.datasets import cifar10 (x_train,y_train),(x_test,y_test)=tf.keras.datasets.cifar10.load_data() ```
At chap7 Attention RNN training period,here i follow the book to build the model looks like this: ```python notes_in = Input(shape=(None,)) durations_in = Input(shape=(None,)) embedded_size = 100 rnn_units = 256...
Just trying to use the book sources, and I'm having a big struggle with getting a working environment. The closest I've come is getting out of conda, making sure I...