Lightje ae86371991
Update utils.py, to fix upscaling error of non contiguous images on mac
Changes Made:
Added samples = samples.contiguous() at the start.
Added tile = (min(tile[0], samples.shape[2]), min(tile[1], samples.shape[3])) for dynamic tile sizing.
Modified output[b:b+1] = function(s.contiguous()).to(output_device) in the single-tile case.
Modified ps = function(s_in.contiguous()).to(output_device) in the tiled loop.
2025-05-31 02:50:50 +02:00
..
2024-12-20 16:24:55 -05:00
2023-01-16 22:37:14 -05:00
2024-06-27 18:43:11 -04:00
2025-03-06 00:24:43 -05:00
2025-04-20 11:33:27 -04:00
2025-01-24 06:15:54 -05:00
2025-05-11 04:58:00 -04:00