Skip to content

Commit 90d5a6f

Browse files
committed
chapter 4:
- removing deprecated files - the gcloud sessions are not using the same runtime (so we need to re-download data) so writing outputs to gdrive to make sure things are running and outputs are accessible for subsequent notebooks in colab - renaming 4/1 notebook - since it had underscores instead of hyphens, the colab link in the notebook was not working - xception added to imports for notebook 1, since it is part of the model_maker - PracticalDL#163 - fixed - PracticalDL#164 - fixed - PracticalDL#169 - fixed - metric='angular' added for annoy as default arg will be removed in subsequent releases - removing a duplicate PCA + Annoy section - PracticalDL#170 - fixed - time is a negligible factor here, and we do not need it in the plots (since we are using optimised accuracy calculation using numpy from issue 170) - hence, modifying the plots - removing matplotlib.style.use('seaborn') since it is deprecated - the final fine-tuning notebook uses Caltech256 features (as per the book), which do not exist, since fine-tuning was done on Caltech101 - hence, renaming those files to caltech101. Can we retain caltech101 to test? - PracticalDL#167 - fixed, if the above is okay - formatted the code chapter 5: - write_grads and batch_size params have been removed from callback, or will be removed in subsequent releases - PracticalDL#174 - not able to replicate this issue - added a pointer to the notebook that suggests that for tensorboard to work without a 403 Forbidden error on Colab, cookies need to be allowed (I faced this issue) - notebook 3 in chapter 5 is the exact same as notebook 2 in chapter 2 - replaced the file directly - the autokeras notebook in Colab is named autokeras-error.ipynb - where can we change this to autokeras.ipynb? - fixing accuracy score calculation in the autokeras notebook - formatted the code chapter 6: - including the download_sample_image function - formatted the code
1 parent e1c1a62 commit 90d5a6f

20 files changed

+37534
-6231
lines changed

code/chapter-3/2-analyzing-the-results.ipynb

+195-195
Large diffs are not rendered by default.

code/chapter-4/1-feature-extraction-deprecated.ipynb

-594
This file was deleted.

code/chapter-4/1-feature-extraction.ipynb

+11,421
Large diffs are not rendered by default.

code/chapter-4/1_feature_extraction.ipynb

-1,185
This file was deleted.

code/chapter-4/2-similarity-search-level-1.ipynb

+5,552-204
Large diffs are not rendered by default.

code/chapter-4/2-similarity-search-level-2.ipynb

+5,984-276
Large diffs are not rendered by default.

code/chapter-4/2-similarity-search-level-3.ipynb

+5,287-88
Large diffs are not rendered by default.

code/chapter-4/3-reduce-feature-length-with-pca.ipynb

+5,767-320
Large diffs are not rendered by default.

code/chapter-4/4-improving-accuracy-with-fine-tuning.ipynb

+813-164
Large diffs are not rendered by default.

code/chapter-4/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Like Google Reverse Image Search, we explore how one can use embeddings — a co
77
Run the following command prior to running the scripts in this directory:
88

99
`$ pip install annoy -U`
10+
`$ pip install nmslib -U`
11+
`$ pip install falconn -U`
1012

1113
## Code
1214

@@ -23,4 +25,4 @@ In this portion of the chapter, we will find the least accurate (worst) performi
2325

2426
## Data
2527

26-
We will be using the Caltech101 dataset. Please download the [Caltech101](http://www.vision.caltech.edu/Image_Datasets/Caltech101/101_ObjectCategories.tar.gz) dataset and place it in a `caltech101` directory.
28+
We will be using the [Caltech101](http://www.vision.caltech.edu/Image_Datasets/Caltech101/101_ObjectCategories.tar.gz) dataset. The commands for downloading the dataset can be found in the notebooks.

code/chapter-5/1-develop-tool.ipynb

+732-228
Large diffs are not rendered by default.

code/chapter-5/1_develop_tool.ipynb

-1,431
This file was deleted.

code/chapter-5/3-colab-what-does-my-neural-network-think.ipynb

+278
Large diffs are not rendered by default.

code/chapter-5/3-colab-what-does-my-neural-network-think.ipynb.ipynb

-329
This file was deleted.

0 commit comments

Comments
 (0)