Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
@@ -52,4 +52,4 @@ class PreTrainedPipeline():
|
|
52 |
with torch.no_grad():
|
53 |
feature_vector = self.model(image, text, mode=parameters["mode"])[0,0].tolist()
|
54 |
# postprocess the prediction
|
55 |
-
return
|
|
|
52 |
with torch.no_grad():
|
53 |
feature_vector = self.model(image, text, mode=parameters["mode"])[0,0].tolist()
|
54 |
# postprocess the prediction
|
55 |
+
return feature_vector
|