Fixes, cleanup.

This commit is contained in:
d8ahazard
2022-09-29 19:59:53 -05:00
parent d73741794d
commit 435fd2112a
3 changed files with 5 additions and 17 deletions

View File

@@ -101,8 +101,10 @@ class LDSR:
print("Foo")
down_sample_rate = target_scale / 4
print(f"Downsample rate is {down_sample_rate}")
width_downsampled_pre = width_og * down_sample_rate
height_downsampled_pre = height_og * down_sample_method
wd = width_og * down_sample_rate
hd = height_og * down_sample_rate
width_downsampled_pre = int(wd)
height_downsampled_pre = int(hd)
if down_sample_rate != 1:
print(