(annotation_lines, batch_size, input_shape, anchors, num_classes, random=True, verbose=False)
| 195 | yield [image_data, *y_true], np.zeros(batch_size) |
| 196 | |
| 197 | def data_generator_wrapper(annotation_lines, batch_size, input_shape, anchors, num_classes, random=True, verbose=False): |
| 198 | n = len(annotation_lines) |
| 199 | if n==0 or batch_size<=0: return None |
| 200 | return data_generator(annotation_lines, batch_size, input_shape, anchors, num_classes, random, verbose) |
| 201 | |
| 202 | def bottleneck_generator(annotation_lines, batch_size, input_shape, anchors, num_classes, bottlenecks): |
| 203 | n = len(annotation_lines) |
no test coverage detected