Skip to content

Commit 8405154

Browse files
committed
Colorizer
1 parent c8f94f1 commit 8405154

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

keras-color/color.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
def my_generator(batch_size):
2323
image_filenames = glob.glob(config.img_dir + "/*")
24-
print("IF", image_filenames)
2524
counter = 0
2625
while True:
2726
bw_images = np.zeros((batch_size, config.width, config.height))
@@ -54,10 +53,8 @@ def my_generator(batch_size):
5453
model.summary()
5554

5655
(val_bw_images, val_color_images) = next(my_generator(8))
57-
print(val_color_images)
58-
print(val_bw_images)
5956

6057
model.fit_generator( my_generator(config.batch_size),
6158
samples_per_epoch=20,
62-
nb_epoch=config.num_epochs, callbacks=[WandbCallback(data_type='image')],
59+
nb_epoch=config.num_epochs, callbacks=[WandbCallback(data_type='image', log_weights=True)],
6360
validation_data=(val_bw_images, val_color_images))

0 commit comments

Comments
 (0)