def setup_from_flags(self):
        level = NOTSET
        for pair in FLAGS.default_log_levels:
            logger, _sep, level_name = pair.partition('=')
            # NOTE(todd): if we set a.b, we want a.b.c to have the same level
            #             (but not a.bc, so we check the dot)
            if self.name == logger or self.name.startswith("%s." % logger):
                level = globals()[level_name]
        self.setLevel(level)
Visualize a mini-batch for debugging.
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/log.py/NovaLogger.setup_from_flags--crossover with--dataset/ETHPy150Open rbgirshick/fast-rcnn/lib/roi_data_layer/minibatch.py/_vis_minibatch