hi, i have a problem with callback on training the model. This what is the parameter said
/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py:9: UserWarning: Model.fit_generator
is deprecated and will be removed in a future version. Please use Model.fit
, which supports generators.
if name == ‘main’:
Epoch 1/100
TypeError Traceback (most recent call last)
in ()
7 epochs = 100,
8 verbose = 2,
----> 9 callbacks= [callbacks])
2 frames
/usr/local/lib/python3.7/dist-packages/tensorflow/python/eager/def_function.py in _call(self, *args, **kwds)
945 # In this case we have created variables on the first call, so we run the
946 # defunned version which is guaranteed to never create variables.
→ 947 return self._stateless_fn(*args, **kwds) # pylint: disable=not-callable
948 elif self._stateful_fn is not None:
949 # Release the lock early so that multiple threads can perform the call
TypeError: ‘NoneType’ object is not callable
what’s wrong with it? could anyone help, please?