f4af199e0025065d7006fe326b55f25a74e9d625,util/visualizer.py,Visualizer,display_current_results,#Visualizer#Any#Any#Any#,37
Before Change
title = self.name
label_html = ""
label_html_row = ""
nrows = int(np.ceil(len(visuals.items()) / ncols))
images = []
idx = 0
for label, image_numpy in visuals.items():
label_html_row += "<td>%s</td>" % label
After Change
webpage = html.HTML(self.web_dir, "Experiment name = %s" % self.name, reflesh=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)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: richzhang/colorization-pytorch
Commit Name: f4af199e0025065d7006fe326b55f25a74e9d625
Time: 2018-04-18
Author: junyanzhu89@gmail.com
File Name: util/visualizer.py
Class Name: Visualizer
Method Name: display_current_results
Project Name: Zhaoyi-Yan/Shift-Net_pytorch
Commit Name: 8f6a6f153781d0908fb0904349aae844494026ea
Time: 2018-12-03
Author: yanzhaoyi@outlook.com
File Name: util/visualizer.py
Class Name: Visualizer
Method Name: display_current_results