We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c760c9 commit 3ce4c52Copy full SHA for 3ce4c52
gigagan_pytorch/gigagan_pytorch.py
@@ -919,7 +919,7 @@ def __init__(
919
num_layers = int(log2(image_size) - 1)
920
self.num_layers = num_layers
921
922
- resolutions = image_size / ((2 ** torch.arange(num_layers)))
+ resolutions = image_size / ((2 ** torch.arange(num_layers).flip(0)))
923
resolutions = resolutions.long().tolist()
924
925
dim_layers = (2 ** (torch.arange(num_layers) + 1)) * dim_capacity
gigagan_pytorch/version.py
@@ -1 +1 @@
1
-__version__ = '0.2.17'
+__version__ = '0.2.18'
0 commit comments