From bd29e2e994c14ea604fb4abf19550688e8ebb69a Mon Sep 17 00:00:00 2001 From: Koki Ibukuro Date: Thu, 17 Oct 2024 10:07:35 +0200 Subject: [PATCH] Fix VideoClassification crashing --- Assets/Samples/VideoClassification/VideoClassification.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Assets/Samples/VideoClassification/VideoClassification.cs b/Assets/Samples/VideoClassification/VideoClassification.cs index ad6969f24..1ce4f3c8f 100644 --- a/Assets/Samples/VideoClassification/VideoClassification.cs +++ b/Assets/Samples/VideoClassification/VideoClassification.cs @@ -57,6 +57,7 @@ public VideoClassification(Options options) try { runner = new SignatureRunner(SIGNATURE_KEY, FileUtil.LoadFile(options.modelPath), interpreterOptions); + runner.AllocateSignatureTensors(); } catch (Exception e) {