From 6f002bdb684f2bfcb011b944e5be5f05a8c930b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Verstraeten?= Date: Wed, 27 Nov 2024 19:09:39 +0100 Subject: [PATCH] Update object_classification_yolov8.py --- object_classification_yolov8.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/object_classification_yolov8.py b/object_classification_yolov8.py index aa02c1e..1b75844 100644 --- a/object_classification_yolov8.py +++ b/object_classification_yolov8.py @@ -23,6 +23,10 @@ from uugai_python_dynamic_queue.MessageBrokers import RabbitMQ from uugai_python_kerberos_vault.KerberosVault import KerberosVault +# Following error is thrown: [W NNPACK.cpp:64] Could not initialize NNPACK! Reason: Unsupported hardware. +# https://stackoverflow.com/questions/69711410/could-not-initialize-nnpack +torch.backends.nnpack.enabled = False + # Initialize the VariableClass object, which contains all the necessary environment variables. var = VariableClass()