Fix train bug
This commit is contained in:
parent
9c3d0b7560
commit
ec621c69b5
|
@ -221,7 +221,7 @@ class Trainer:
|
|||
img_dir = os.path.join(opt['path']['val_images'], img_name)
|
||||
util.mkdir(img_dir)
|
||||
|
||||
self.model.feed_data(val_data)
|
||||
self.model.feed_data(val_data, self.current_step)
|
||||
self.model.test()
|
||||
|
||||
visuals = self.model.get_current_visuals()
|
||||
|
|
Loading…
Reference in New Issue
Block a user