zoo/wrn/wrn_c.py
def example():
    ''' Example for constructing/training a WRN model on CIFAR-10
    '''
    # Example of constructing a mini WRN
    wrn = WRN(depth=14, k=2, input_shape=(32, 32, 3), n_classes=10)
    wrn.model.compile(loss='sparse_categorical_crossentropy', optimizer='adam', metrics=['acc'])
    wrn.model.summary()
    wrn.cifar10()
 Example for constructing/training a WRN model on CIFAR-10
    
Example for constructing/training a WRN model on CIFAR-10
Example for constructing / training a WRN model on CIFAR - 10
def example():
    wrn = WRN(depth=14, k=2, input_shape=(32, 32, 3), n_classes=10)
    wrn.model.compile(loss='sparse_categorical_crossentropy', optimizer='adam', metrics=['acc'])
    wrn.model.summary()
    wrn.cifar10()
def example ( ) : wrn = WRN ( depth = 14 , k = 2 , input_shape = ( 32 , 32 , 3 ) , n_classes = 10 ) wrn . model . compile ( loss = 'sparse_categorical_crossentropy' , optimizer = 'adam' , metrics = [ 'acc' ] ) wrn . model . summary ( ) wrn . cifar10 ( )
Example for constructing/training a WRN model on CIFAR-10
Example for constructing / training a WRN model on CIFAR - 10
''' Example for constructing/training a WRN model on CIFAR-10
    ''' # Example of constructing a mini WRN