def METHOD_NAME(self, visuals, epoch, save_result):
    """Display current results on visdom; save current results to an HTML file.
    Parameters:
        visuals (OrderedDict) - - dictionary of images to display or save
        epoch (int) - - the current epoch
        save_result (bool) - - if save the current results to an HTML file
    """
    if self.use_html and (save_result or not self.saved):  # save images to an HTML file if they haven't been saved.
        self.saved = True
        # save images to the disk
        for label, image in visuals.items():
            image_numpy = util.tensor2im(image)
            img_path = os.path.join(self.img_dir, 'epoch%.3d_%s.png' % (epoch, label))
            util.save_image(image_numpy, img_path)
        # update website
        webpage = html.HTML(self.web_dir, 'Experiment name = %s' % self.name, refresh=1)
        for n in range(epoch, 0, -1):
            webpage.add_header('epoch [%d]' % n)
            ims, txts, links = [], [], []
            for label, image_numpy in visuals.items():
                # image_numpy = util.tensor2im(image)
                img_path = 'epoch%.3d_%s.png' % (n, label)
                ims.append(img_path)
                txts.append(label)
                links.append(img_path)
            webpage.add_images(ims, txts, links, width=self.win_size)
        webpage.save()