Return visualization images. train.py will display these images with visdom, and save the images to a HTML
(self)
| 146 | print('learning rate = %.7f' % lr) |
| 147 | |
| 148 | def get_current_visuals(self): |
| 149 | """Return visualization images. train.py will display these images with visdom, and save the images to a HTML""" |
| 150 | visual_ret = OrderedDict() |
| 151 | for name in self.visual_names: |
| 152 | if isinstance(name, str): |
| 153 | visual_ret[name] = getattr(self, name) |
| 154 | return visual_ret |
| 155 | |
| 156 | def get_current_losses(self): |
| 157 | """Return traning losses / errors. train.py will print out these errors on console, and save them to a file""" |