This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def DeepAA(num_label=615, drop_out=0.5, weight_decay=0.001, input_shape = [64, 64]): | |
""" | |
Build Deep Neural Network. | |
:param num_label: int, number of classes, equal to candidates of characters | |
:param drop_out: float | |
:param weight_decay: float | |
:return: | |
""" | |
reg = l2(weight_decay) | |
imageInput = Input(shape=input_shape) |