29.12.2017 · When you do ButtonClass ().make_button () (or FieldTextClass.make_field ()) , python will return the value of the function, not the instance of the class. The function returns None, so the dictionary elements are None. The way you're using the custom classes is very strange. Instead of creating special functions, put that code in an __init__ ...
12.02.2019 · fit(): AttributeError: 'NoneType' object has no attribute 'name' #634. kasuteru opened this issue Feb 12, 2019 · 11 comments Comments. Copy link kasuteru commented Feb 12, 2019 ... 'NoneType' object has no attribute 'name' ...
18.02.2019 · AttributeError: 'NoneType' object has no attribute 'fit_generator' I have imported Keras.models also which contain fit_generator and have tried using fit instead of fit_generator but still couldn't solve it. Looking forward for some help! …