File "demo.py", line 72, in model = modellib.MaskRCNN(mode="inference", model_dir=MODEL_DIR, config=config) File "C:\Users\Shashi\Anaconda3\lib\site-packages\mrcnn\model.py", line 1832, in __init__ self.keras_model = self.build(mode=mode, config=config) File "C:\Users\Shashi\Anaconda3\lib\site-packages\mrcnn\model.py", line 2033, in build fc_layers_size=config.FPN_CLASSIF_FC_LAYERS_SIZE) File "C:\Users\Shashi\Anaconda3\lib\site-packages\mrcnn\model.py", line 928, in fpn_classifier_graph name="roi_align_classifier")([rois, image_meta] + feature_maps) File "C:\Users\Shashi\Anaconda3\lib\site-packages\keras\backend\tensorflow_backend.py", line 75, in symbolic_fn_wrapper return func(*args, **kwargs) File "C:\Users\Shashi\Anaconda3\lib\site-packages\keras\engine\base_layer.py", line 489, in __call__ output = self.call(inputs, **kwargs) File "C:\Users\Shashi\Anaconda3\lib\site-packages\mrcnn\model.py", line 390, in call roi_level = log2_graph(tf.sqrt(h * w) / (224.0 / tf.sqrt(image_area))) File "C:\Users\Shashi\Anaconda3\lib\site-packages\mrcnn\model.py", line 341, in log2_graph return tf.log(x) / tf.log(2.0)