def test_yolov2_2(self): from dlpy.applications import YoloV2 anchors = [] anchors.append(1) anchors.append(1) model = YoloV2(self.s, anchors, predictions_per_grid=1) model.print_summary()
def test_yolov2(self): with self.assertRaises(DLPyError): from dlpy.applications import YoloV2 anchors = [] anchors.append(1) anchors.append(1) model = YoloV2(self.s, anchors) model.print_summary()
def test_yolov2_4(self): from dlpy.applications import YoloV2 anchors=[] anchors.append(1) anchors.append(1) anchors.append(1) anchors.append(1) model = YoloV2(self.s, anchors, predictions_per_grid=2, max_label_per_image=3, max_boxes=1) model.print_summary()