You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can add this line: torchvision.utils.save_image(images_sr[:, :3, :, :], os.path.join(self.args.demo_dir, 'sr_'+im_name), padding=0)
just after 'images_sr' generated at: for im_name in tqdm(os.listdir(self.args.demo_dir)): images_lr = transform_(os.path.join(self.args.demo_dir, im_name)) images_lr = images_lr.to(self.device) sr_beigin = time.time() images_sr = model(images_lr)
Hey,
How can we visualize the output images after the demo command?
The text was updated successfully, but these errors were encountered: