Closed jrrios closed 5 years ago
In order to get past this, I made the following change to https://github.com/guigzzz/Keras-Yolo-v2/blob/master/tiny_yolo_v2.py#L46
model = Conv2D(len(TINY_YOLOV2_ANCHOR_PRIORS)*(5+self.n_classes), (1, 1), padding='same', activation='linear')(model)
Good catch! that's what I get for not testing the code with different dimensions :) I'll change the code to add your fix
I am attempting to train a custom model with TinyYOLOv2, however when I replace the batch size and label count on the
trainnet = TinyYOLOv2(13 * 32, batch_size, num_classes, is_learning_phase=True)
call I get the following error when the model is being created:My guess is i would need to change how the Reshape layer is added, what could I change to make it work?