Summary: 8 instances, 8 unique Text Count # FIXME h_boxes takes the last one computed, keep this in mind 1 # TODO this is a hack 1 # TODO make it support different-sized images 1 # TODO make this more general 1 # TODO this should probably be a separate loss, not hacked in this one here 1 # FIXME should we update the area here if there are no boxes? 1 # TODO find a better way of exposing other arguments 1 # TODO use valid to mask invalid areas due to padding in loss 1