Fixed a bug that caused images to be separated
This commit is contained in:
+3
-1
@@ -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),)
|
||||
|
||||
Reference in New Issue
Block a user