2020. 8. 1. 03:15
ResNet with Keras
Residual block 생성 def residual_block(X, f, filters, stride, ver): X_shortcut = X#shortcut으로 보내주기 위해 저장. X = Conv2D(filters=F1, (1, 1), strides = (2,2), kernel_initializer = glorot_uniform(seed=0))(X) X = BatchNormalization(axis = 3)(X) X = Activation('relu')(X) X = Conv2D(filters = F2, kernel_size = (1, 1), strides = (1,1), padding = 'valid', kernel_initializer = glorot_uniform(seed=0))(X) X = B..