Example #1
0
class ManualAugmentation():
    def __init__(self):

        ###############################################################
        #
        # Sets up all default requirements and placeholders
        # needed for the Acute Myeloid Leukemia Classifier.
        #
        ###############################################################

        self.Data = Data()

    def processDataset(self):

        ###############################################################
        #
        # Make sure you have your equal amounts of positive and negative
        # samples in the Model/Data directories.
        #
        # Only run this function once! it will continually make copies
        # of all images in the Settings->TrainDir directory specified
        # in Required/confs.json
        #
        ###############################################################

        self.Data.processDataset()
class Augmentation():
    """ ALL Detection System 2019 Manual Data Augmentation Class

    Manual data augmentation wrapper class for the ALL Detection System 2019 Data Augmentation project.
    """
    def __init__(self):
        """ Initializes the Augmentation class. """

        self.Data = Data()

    def processDataset(self):
        """ Processes the AML/ALL Detection System Dataset. 
        Make sure you have your equal amounts of positive and negative
        samples in the Model/Data directories.

        Only run this function once! it will continually make copies
        of all images in the Settings->TrainDir directory specified
        in Required/confs.json
        """

        self.Data.processDataset()