From b02d2c2957fe811749bb65d374f3c080c2f780b6 Mon Sep 17 00:00:00 2001
From: tomrink <rink@ssec.wisc.edu>
Date: Sun, 8 Oct 2023 11:08:47 -0500
Subject: [PATCH] snapshot...

---
 modules/deeplearning/esrgan_exp.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/deeplearning/esrgan_exp.py b/modules/deeplearning/esrgan_exp.py
index d4e4436d..6a0db163 100644
--- a/modules/deeplearning/esrgan_exp.py
+++ b/modules/deeplearning/esrgan_exp.py
@@ -125,6 +125,7 @@ def run(in_file, out_file):
 
     # sres_image /= 255.0
     # hr_image /= 255.0
+    hr_image = hr_image.numpy()
     hr_image = descale2(hr_image[:, :, :, 1], 0.0, 160.0)
     image = descale2(image[:, :, :, 1], 0.0, 160.0)
 
-- 
GitLab