@@ -187,6 +187,8 @@ def unconditional_benchmark(colorizer: BaseColorizer, image_dir: Path, output_di
187
187
web_root = output_dir .parent
188
188
benchmark_type = "unconditional"
189
189
method_name = colorizer .method_name
190
+ print (benchmark_type , method_name )
191
+
190
192
experiment_root = output_dir / benchmark_type / method_name # save table here
191
193
if not markdown_only and experiment_root .exists (): # delete only dirs with pictures
192
194
[shutil .rmtree (item ) for item in experiment_root .iterdir () if item .is_dir ()]
@@ -196,6 +198,7 @@ def unconditional_benchmark(colorizer: BaseColorizer, image_dir: Path, output_di
196
198
197
199
rows = 0
198
200
for task_name , tasks in tqdm (benchmark_pairs_unconditional .items ()):
201
+ print (task_name )
199
202
image_id = 0
200
203
for row in tasks :
201
204
for task in row :
@@ -242,6 +245,8 @@ def single_reference_benchmark(colorizer: BaseColorizer, image_dir: Path, output
242
245
web_root = output_dir .parent
243
246
benchmark_type = "single_reference"
244
247
method_name = colorizer .method_name
248
+ print (benchmark_type , method_name )
249
+
245
250
experiment_root = output_dir / benchmark_type / method_name # save table here
246
251
if not markdown_only and experiment_root .exists (): # delete only dirs with pictures
247
252
[shutil .rmtree (item ) for item in experiment_root .iterdir () if item .is_dir ()]
@@ -250,6 +255,7 @@ def single_reference_benchmark(colorizer: BaseColorizer, image_dir: Path, output
250
255
table_md += templating .table_header (["Task" , "Image #1" , "Image #2" , "Image #3" , "Image #4" ])
251
256
rows = 0
252
257
for task_name , tasks in tqdm (benchmark_pairs_single .items ()):
258
+ print (task_name )
253
259
image_id = 0
254
260
for row in tasks :
255
261
if rows == 2 :
@@ -303,6 +309,8 @@ def multi_reference_benchmark(colorizer: BaseColorizer, image_dir: Path, output_
303
309
web_root = output_dir .parent
304
310
benchmark_type = "multi_reference"
305
311
method_name = colorizer .method_name
312
+ print (benchmark_type , method_name )
313
+
306
314
experiment_root = output_dir / benchmark_type / method_name # save table here
307
315
if not markdown_only and experiment_root .exists (): # delete only dirs with pictures
308
316
[shutil .rmtree (item ) for item in experiment_root .iterdir () if item .is_dir ()]
@@ -312,6 +320,7 @@ def multi_reference_benchmark(colorizer: BaseColorizer, image_dir: Path, output_
312
320
313
321
rows = 0
314
322
for task_name , tasks in tqdm (benchmark_pairs_multi .items ()):
323
+ print (task_name )
315
324
image_id = 0
316
325
for row in tasks :
317
326
if rows == 1 :
0 commit comments