Changed permute
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ class YOLOClassify:
|
||||
CATEGORY = "SuperMasterBlasterLaser/ComfyUI_YOLO_Classifiers"
|
||||
|
||||
def classify(self, yolo_classifier_model, image_to_classify):
|
||||
image_to_classify = image_to_classify.permute((0, 3, 1, 2))
|
||||
image_to_classify = image_to_classify.permute(0, 3, 1, 2)
|
||||
|
||||
transform = transforms.Compose([
|
||||
transforms.Resize(size=(640, 640))
|
||||
|
||||
Reference in New Issue
Block a user