From 034b959826ec61618c26db7db11e72cb26c97522 Mon Sep 17 00:00:00 2001 From: Joshua Lochner Date: Mon, 11 Mar 2024 02:17:29 +0200 Subject: [PATCH] Update processors.js --- src/processors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processors.js b/src/processors.js index 4dcb4862f..a7df4cd2e 100644 --- a/src/processors.js +++ b/src/processors.js @@ -700,7 +700,7 @@ export class ImageFeatureExtractor extends FeatureExtractor { const pixel_values = stack(imageData.map(x => x.pixel_values), 0); return { - pixel_values: pixel_values, + pixel_values, // Original sizes of images original_sizes: imageData.map(x => x.original_size),