Hello, I have trained the model on custom dataset for 5 epochs, but while doing inference I am getting below error

I tried the following modifications in the code but error is not resolved
-
Lowered DETECTION_MIN_CONFIDENCE in mrcnn/config.py Issue: 2132
-
Fixed Division by Zero error in mrcnn/utils.py with these modifications from __future__ import division Issue: 515, shift = np.array([0, 0, 1., 1.]) Issue: 912
Hello, I have trained the model on custom dataset for 5 epochs, but while doing inference I am getting below error
I tried the following modifications in the code but error is not resolved
Lowered
DETECTION_MIN_CONFIDENCEinmrcnn/config.pyIssue: 2132Fixed Division by Zero error in
mrcnn/utils.pywith these modificationsfrom __future__ import divisionIssue: 515,shift = np.array([0, 0, 1., 1.])Issue: 912