From c401c0a24d7e5fefdf3dbe0e80f1badda017c4d7 Mon Sep 17 00:00:00 2001 From: Andreas Lugmayr Date: Thu, 5 Nov 2020 12:39:50 +0100 Subject: [PATCH 1/3] Fix device error --- code/models/SRFlow_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/models/SRFlow_model.py b/code/models/SRFlow_model.py index 865df21..8d5683b 100644 --- a/code/models/SRFlow_model.py +++ b/code/models/SRFlow_model.py @@ -127,7 +127,7 @@ def get_z(self, heat, seed=None, batch_size=1, lr_shape=None, y_label=None): fac = 2 ** (L - 3) z_size = int(self.lr_size // (2 ** (L - 3))) z = torch.normal(mean=0, std=heat, size=(batch_size, 3 * 8 * 8 * fac * fac, z_size, z_size)) - return z + return z.to(self.device) def get_current_log(self): return self.log_dict From 066394eef7d1796d3fb5fbdfec0656fa41ee6dbe Mon Sep 17 00:00:00 2001 From: andreas Date: Thu, 5 Nov 2020 13:00:09 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d9c46db..1d0ce68 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ python test.py ./confs/SRFlow_DF2K_4X.yml # Diverse Images 4X (Dataset Incl python test.py ./confs/SRFlow_DF2K_8X.yml # Diverse Images 8X (Dataset Included) python test.py ./confs/SRFlow_CelebA_8X.yml # Faces 8X ``` - +For testing, we apply SRFlow to the full images on CPU. # Our paper explains From db9a67d8fe1ec6da2f0cbdeb392353604aea64fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Nov 2020 23:03:54 +0000 Subject: [PATCH 3/3] Bump notebook from 6.1.4 to 6.1.5 Bumps [notebook](https://github.com/jupyter/jupyterhub) from 6.1.4 to 6.1.5. - [Release notes](https://github.com/jupyter/jupyterhub/releases) - [Changelog](https://github.com/jupyterhub/jupyterhub/blob/master/CHECKLIST-Release.md) - [Commits](https://github.com/jupyter/jupyterhub/commits) Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 073fbbe..3445516 100644 --- a/requirements.txt +++ b/requirements.txt @@ -38,7 +38,7 @@ nbconvert==6.0.7 nbformat==5.0.8 nest-asyncio==1.4.2 networkx==2.5 -notebook==6.1.4 +notebook==6.1.5 numpy==1.19.4 opencv-python==4.4.0.46 packaging==20.4