Fixed a bug that caused images to be separated

This commit is contained in:
nirex0
2024-05-29 14:21:37 +03:30
parent e8e11c384e
commit 2c2f182653
+3 -1
View File
@@ -747,4 +747,6 @@ class pytorch_openpose:
output_image, _ = process_one (input_image)
img = pil2tensor(output_image)
results.append(img)
return (torch.cat(results, dim=0),)
# return img
return (torch.cat(results, dim=0),)