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.