Mask R-CNN hangs during training using custom made tfrecords

Thanks for the info.
I find the root cause for AP 0.

You have only one class, so please set num_classes to 2. Issue will be gone.

num_classes: 2

For the number of classes, if there are N categories in the annotation, num_classes should be N+1 (background class).