deep-learning-with-python-notebooks icon indicating copy to clipboard operation
deep-learning-with-python-notebooks copied to clipboard

Jupyter notebooks for the code samples of the book "Deep Learning with Python"

Results 126 deep-learning-with-python-notebooks issues
Sort by recently updated
recently updated
newest added

I am trying to run the code for the deep dream and I disable the eager execution to user the gradients. However I got this error: TypeError Traceback (most recent...

When I practiced the reuters example, I got totally different results, and each time I run it, the results were different. After I set the seed, I got the reproducible...

Hi all, I'm wondering if this line of code data=int_sequence[:-3], could be modified to be data=int_sequence[:-1], for at least the output seems fine: [0, 1, 2] 3 [1, 2, 3]...

0 How can I obtain F1score, Recall, Confusion Matrix and precison in this code.I have used compile and obtained accuracy but i dont know how write the code to obtain...

The listing in the book looks something like this: ```Python for i in range(n): for j in range(n): image = all_images[i * n + j] stitched_filters[ row_start = (cropped_width +...

This code (k-fold cross val) misses a parenthesis on np.concatenate: '''k = 3 num_validation_samples = len(data) // k np.random.shuffle(data) validation_scores = [] for fold in range(k): validation_data = data[num_validation_samples *...

The text generation example (from movie review dataset) samples examples every iteration and wants to use different temperatures to do so. However the temperature variable was not passed on and...

Does anyone have any insight as to how to update the code on the GAN example [https://github.com/fchollet/deep-learning-with-python-notebooks/blob/master/chapter12_part05_gans.ipynb](https://github.com/fchollet/deep-learning-with-python-notebooks/blob/master/chapter12_part05_gans.ipynb) to work with TPUs on Google colab? It would be really helpful to...

```{python} dataset = dataset.map(lambda x: x / 255.) ``` ```{python} WARNING:tensorflow:From /usr/local/lib/python3.8/dist-packages/tensorflow/python/autograph/pyct/static_analysis/liveness.py:83: Analyzer.lamba_check (from tensorflow.python.autograph.pyct.static_analysis.liveness) is deprecated and will be removed after 2023-09-23. Instructions for updating: Lambda fuctions will be...

```{python} !mkdir celeba_gan !gdown --id 1O7m1010EJjLE5QxLZiM9Fpjs7Oj6e684 -O celeba_gan/data.zip !unzip -qq celeba_gan/data.zip -d celeba_gan ``` ```{python} /usr/local/lib/python3.8/dist-packages/gdown/cli.py:127: FutureWarning: Option `--id` was deprecated in version 4.3.1 and will be removed in 5.0....