Solved by emcp in post #2 
              
              
                I have realized my mistake and was under the assumption min, max annotations were part of the data in coco… when instead it is required I calculate that myself in my data loader 
        # get bounding box coordinates for each mask
        num_targets = len(targets)
        boxes = []
        for i …