Raptor Kwok
Jun 30, 2021

--

Nice article, but seems the contents require updates.

1. If using TensorFlow v2, v1 compatibility mode is required: `import tensorflow.compat.v1 as tf`

2. `BingImages` are no longer downloading images. Use `google-images-download` instead: `from google_images_download import google_images_download` (similar function calls)

3. `self.trainFast()` instead of `self.__trainFast()`? The Github repo is different than the codes in this article.

4. It's better to have a `requirements.txt`.

5. `lfwa.tar.gz` link is dead and has been changed.

6. It's better to have different flags in the Main function calls, as we don't need to re-train the model every time.

Hope this helps.

--

--

Raptor Kwok
Raptor Kwok

Written by Raptor Kwok

I write stuffs: novels, programs, mobile apps, journal papers, book chapters, etc.

No responses yet