def get_filenames(self, path):
        """Returns a list of absolute paths to images inside given `path`"""
        files_list = []
        for filename in os.listdir(path):
            files_list.append(os.path.join(path, filename))
        return files_list
Returns a list of absolute paths to images inside given `path`
examples/pytorch/domain_templates/semantic_segmentation.py