mikechen66
mikechen66
### Issues The following line of code has something wrong. It has no retrained pet recognizer.h5 in the directory of /home/user/Documents/dl-cookbook/zoo/09/. Or it shows load_model is not defined. `keras_model =...
Hi Douwe: While running the script, it shows ValueError: Unknown initializer: GlorotUniform. It eventually showa ValueError: Unknown layer: BatchNormalizationV2 after I tried to fix it with the following method. ###...
It show NameError: name 'model_input' is not defined. ### 1. Lines of Code ``` class WordSplitter(object): def __init__(self, filename): self.filename = filename def __iter__(self): with open(self.filename) as fin: for line...
I complied the application guideines to complete the installation and downloading Icons8App. However, I have met an extracting error and have had the following solution. ### Installation $ pip install...
Hi Douwe: While running the script on TensorFlow 2.0 and Keras 2.3.1, it shows the AttributeError. After changing the adam method from tf.train.AdamOptimizer() to tf.optimizers.Adam(), it shows the TensorFlow methods...
Hi Douwe: Since any error incurs a bunch of long running hours and might make guys bad sleep, I raise the issues and related solutions. ### 1. from scipy.misc import...
I found out the two issues that stopped the example application running. I have corrected them as follows. ### 1. imresize issue: Issue: ImportError: cannot import name 'imresize' from 'scipy.misc'...
07.1 Text Classification & 07.2 Emoji Suggestions -- ModuleNotFoundError: No module named 'nb_utils'
Hi Douwe: How to deal with the issue? There are many applications have the module of nb_utils in Deep Learning Cookbook. Beside of 07.1, 07.2 Emoji Suggestions has the same...
09.3 Retraining -- Kernel Restarting The kernel appears to have died. It will restart automatically.
Whatever 09.3 Retraining.ipynb or 93_retraining.py, it has shown the following message. 09.3 Retraining -- Kernel Restarting The kernel appears to have died. It will restart automatically. Notes: I have the...
Dear Douwe There is a None of ['Id'] issue. Please help solve the issue. df = pd.DataFrame.from_records(rows) df = df.set_index('Id', drop=False) df['Title'] = df['Title'].fillna('').astype('str') df['Tags'] = df['Tags'].fillna('').astype('str') df['Body'] = df['Body'].fillna('').astype('str')...