예제 #1
0
def main():
    """Load EMNIST dataset and print info."""
    args = _parse_args()
    dataset = EmnistDataset(subsample_fraction=args.subsample_fraction)
    dataset.load_or_generate_data()

    print(dataset)
    print(dataset.x_train.shape, dataset.y_train.shape)  # pylint: disable=E1101
    print(dataset.x_test.shape, dataset.y_test.shape)  # pylint: disable=E1101
def main():
    """Load dataset and print info."""
    args = _parse_args()
    dataset = IamParagraphsDataset(subsample_fraction=args.subsample_fraction)
    dataset.load_or_generate_data()
    print(dataset)