Update nodes.py

This commit is contained in:
Jo Kim
2025-04-08 10:26:10 +02:00
parent 86ee53dd7d
commit aca2eabc2b
-2
View File
@@ -101,8 +101,6 @@ def convert_image_for_request(image_tensor: torch.Tensor):
height = image_tensor.size(dim=1)
channels = image_tensor.size(dim=3)
print(f"Request image tensor is {width}x{height} with {channels} channels")
channels = 3
mode = ""
image_tensor = image_tensor.to(torch.float16)