Mask_R_CNN_in_Fruit_Counting icon indicating copy to clipboard operation
Mask_R_CNN_in_Fruit_Counting copied to clipboard

TypeError: Could not build a TypeSpec for <KerasTensor: shape=(None, None, 4) dtype=float32 (created by layer 'tf.math.truediv_6')> with type KerasTensor

Open pvrohin opened this issue 5 years ago • 1 comments

Hi, While executing train_fruit.ipynb, cell by cell, I came across this error when i executed

model = modellib.MaskRCNN(mode="training", config=config,model_dir=MODEL_DIR)

Could someone please help me out ?

pvrohin avatar Dec 31 '20 09:12 pvrohin

Hi pvrohin, I didn't go through the original program. I suspect the version of Keras or TensorFlow is not compatible. You can check the Readme which shows how to install the environment.

mjjackey avatar Jan 13 '21 03:01 mjjackey