def add_initial_training_notes(self, s):
        if len(s) == 0:
            return
        line_length = 10
        self.write_to_logger("### INITIAL TRAINING NOTES ###")
        w_lst = s.split(" ")
        new_s = ""
        for i in range(len(w_lst)):
            if (not i == 0) and (i % line_length == 0):
                new_s += "\n"
            new_s += " " + w_lst[i]
        self.write_to_logger(new_s)
A text-filter helper, used in ``markdown_thumbnails``-filter and ``html_thumbnails``-filter.
dataset/ETHPy150Open larsmaaloee/auxiliary-deep-generative-models/training/base.py/Train.add_initial_training_notes--crossover with--dataset/ETHPy150Open python-thumbnails/python-thumbnails/thumbnails/templatetags/thumbnails.py/text_filter