用Mask_RCNN制作自己的训练集
https://blog.youkuaiyun.com/heiheiya/article/details/81532914
参考的这篇文章,用via制作了自己的数据集,为Json文件,训练的时候出现
IndexError: boolean index did not match indexed array along dimension 0; dimension is 0 but corresponding boolean dimension is 1
解决办法: 一般是对应图片的训练集格式出了问题,训练集的Json文件的type和代码中的不一致, balloon.py代码注释中提到了Json文件的格式:
# Load annotations
# VGG Image Annotator (up to version 1.6) saves each image in the form:
# { 'filename': '28503151_5b5b7ec140_b.jpg',
# 'regions': {
# '0': {
# 'region_attributes': {},
# 'shape_attributes': {
# 'all_points_x': [...],
# 'all_points_y': [...],
# 'name': 'p