@@ -112,10 +112,10 @@ def display_current_results(self, visuals, epoch, save_result):
112
112
if ncols > 0 : # show all the images in one visdom window
113
113
ncols = min (ncols , len (visuals ))
114
114
h , w = next (iter (visuals .values ())).shape [:2 ]
115
- table_css = """ < style >
116
- table {border - collapse: separate; border - spacing: 4px; white - space: nowrap; text - align: center}
115
+ table_css = """< style>
116
+ table {border- collapse: separate; border- spacing: 4px; white- space: nowrap; text- align: center}
117
117
table td {width: % dpx; height: % dpx; padding: 4px; outline: 4px solid black}
118
- < / style >""" % (w , h )
118
+ </ style>""" % (w , h )
119
119
title = self .name
120
120
label_html = ''
121
121
label_html_row = ''
@@ -160,7 +160,7 @@ def display_current_results(self, visuals, epoch, save_result):
160
160
img_path = os .path .join (self .img_dir , 'epoch%.3d_%s.png' % (epoch , label ))
161
161
util .save_image (image_numpy , img_path )
162
162
# update website
163
- webpage = html .HTML (self .web_dir , 'Experiment name = %s' % self .name , reflesh = 1 )
163
+ webpage = html .HTML (self .web_dir , 'Experiment name = %s' % self .name , refresh = 1 )
164
164
for n in range (epoch , 0 , - 1 ):
165
165
webpage .add_header ('epoch [%d]' % n )
166
166
ims , txts , links = [], [], []
0 commit comments