The training process performs correctly.
However, when it comes to validate the following error appears: TypeError: Argument 'bb' has incorrect type (expected numpy.ndarray, got list)
I get the following warning before evaluation process:
mmdet - INFO - Evaluating segm...
/opt/conda/lib/python3.7/site-packages/mmdet/datasets/coco.py:474: UserWarning: The key "bbox" is deleted for more accurate mask AP of small/medium/large instances since v2.12.0. This does not change the overall mAP calculation.
I don't understand why the script is waiting for a numpy array. I've trained MaskRCNN several times and I don't understand why this time it expects a numpy array...
Any suggestions why this is happening?
MORE INFO
I have obtained the points of the polygon by a conversion from RLE to Poly with the following function:
I found that I had segmentation lists that were composed of lists as it seems that the conversion to polygon was not correct. Is there a way to train directly with RLE?
Dear community, I have two jsons (one for training and one for validation). Here is the format of an annotation (all annotations are in this format)
The training process performs correctly. However, when it comes to validate the following error appears:
TypeError: Argument 'bb' has incorrect type (expected numpy.ndarray, got list)
I get the following warning before evaluation process:
I don't understand why the script is waiting for a numpy array. I've trained MaskRCNN several times and I don't understand why this time it expects a numpy array... Any suggestions why this is happening?
MORE INFO
I have obtained the points of the polygon by a conversion from RLE to Poly with the following function:
Could this process be the problem? Can MaskRCNN be trained directly with the RLE format?