You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem when run code in Colab. Can you guys please tell me what's happening ? Thanks!
WARNING:tensorflow:From :11: Model.fit_generator (from tensorflow.python.keras.engine.training) is deprecated and will be removed in a future version.
Instructions for updating:
Please use Model.fit, which supports generators.
Found 0 images belonging to 1 classes.
Found 0 images belonging to 1 classes.
I have a problem when run code in Colab. Can you guys please tell me what's happening ? Thanks!
WARNING:tensorflow:From :11: Model.fit_generator (from tensorflow.python.keras.engine.training) is deprecated and will be removed in a future version.
Instructions for updating:
Please use Model.fit, which supports generators.
Found 0 images belonging to 1 classes.
Found 0 images belonging to 1 classes.
ValueError Traceback (most recent call last)
in ()
9 model = unet()
10 model_checkpoint = ModelCheckpoint('unet_membrane.hdf5', monitor='loss',verbose=1, save_best_only=True)
---> 11 model.fit_generator(myGene,steps_per_epoch=2000,epochs=5,callbacks=[model_checkpoint])
10 frames
<array_function internals> in amax(*args, **kwargs)
/usr/local/lib/python3.6/dist-packages/numpy/core/fromnumeric.py in _wrapreduction(obj, ufunc, method, axis, dtype, out, **kwargs)
88 return reduction(axis=axis, out=out, **passkwargs)
89
---> 90 return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
91
92
ValueError: zero-size array to reduction operation maximum which has no identity
The text was updated successfully, but these errors were encountered: