collection/collectionMaker.py
def print_meta_data(self):
        """
        Print the meta data in a human readable format
        :return:
        """
        print(ersa_utils.make_center_string('=', 88, self.clc_name))
        skip_keys = ['gt_files', 'rgb_files', 'rgb_ext', 'gt_ext', 'file_ext', 'files']
        for key, val in self.meta_data.items():
            if key in skip_keys:
                continue
            if type(val) is list:
                if len(val) >= 10:
                    print('{}: [{}, {}, ..., {}]'.format(key, val[0], val[1], val[-1]))
                else:
                    print('{}: {}'.format(key, val))
            else:
                print('{}: {}'.format(key, val))
        print('Source file: {}'.format(' '.join(['*{}*.{}'.format(ext1, ext2)
                                                 for ext1, ext2 in zip(self.rgb_ext, self.file_ext)])))
        if len(self.gt_ext) > 0:
            print('GT file: {}'.format('*{}*.{}'.format(self.gt_ext, self.file_ext[-1])))
        print(ersa_utils.make_center_string('=', 88))

        Print the meta data in a human readable format
        :return:
        
Print the meta data in a human readable format
Print the meta data in a human readable format
def print_meta_data(self):
        print(ersa_utils.make_center_string('=', 88, self.clc_name))
        skip_keys = ['gt_files', 'rgb_files', 'rgb_ext', 'gt_ext', 'file_ext', 'files']
        for key, val in self.meta_data.items():
            if key in skip_keys:
                continue
            if type(val) is list:
                if len(val) >= 10:
                    print('{}: [{}, {}, ..., {}]'.format(key, val[0], val[1], val[-1]))
                else:
                    print('{}: {}'.format(key, val))
            else:
                print('{}: {}'.format(key, val))
        print('Source file: {}'.format(' '.join(['*{}*.{}'.format(ext1, ext2)
                                                 for ext1, ext2 in zip(self.rgb_ext, self.file_ext)])))
        if len(self.gt_ext) > 0:
            print('GT file: {}'.format('*{}*.{}'.format(self.gt_ext, self.file_ext[-1])))
        print(ersa_utils.make_center_string('=', 88))
def print_meta_data ( self ) : print ( ersa_utils . make_center_string ( '=' , 88 , self . clc_name ) ) skip_keys = [ 'gt_files' , 'rgb_files' , 'rgb_ext' , 'gt_ext' , 'file_ext' , 'files' ] for key , val in self . meta_data . items ( ) : if key in skip_keys : continue if type ( val ) is list : if len ( val ) >= 10 : print ( '{}: [{}, {}, ..., {}]' . format ( key , val [ 0 ] , val [ 1 ] , val [ - 1 ] ) ) else : print ( '{}: {}' . format ( key , val ) ) else : print ( '{}: {}' . format ( key , val ) ) print ( 'Source file: {}' . format ( ' ' . join ( [ '*{}*.{}' . format ( ext1 , ext2 ) for ext1 , ext2 in zip ( self . rgb_ext , self . file_ext ) ] ) ) ) if len ( self . gt_ext ) > 0 : print ( 'GT file: {}' . format ( '*{}*.{}' . format ( self . gt_ext , self . file_ext [ - 1 ] ) ) ) print ( ersa_utils . make_center_string ( '=' , 88 ) )
Print the meta data in a human readable format
Print the meta data in a human readable format
"""
        Print the meta data in a human readable format
        :return:
        """
None
self