From 45167464e37866bd777c13d9dffa9bf22be05c8a Mon Sep 17 00:00:00 2001 From: "till.beemelmanns@ika.rwth-aachen.de" Date: Fri, 3 Nov 2023 17:27:12 +0100 Subject: [PATCH] avoid conflict on cv2 import with apple silicon chips --- .../5_object_detection.ipynb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/section_2_sensor_data_processing/5_object_detection.ipynb b/section_2_sensor_data_processing/5_object_detection.ipynb index 10780ef..783b28f 100644 --- a/section_2_sensor_data_processing/5_object_detection.ipynb +++ b/section_2_sensor_data_processing/5_object_detection.ipynb @@ -71,6 +71,7 @@ "os.environ[\"CUDA_VISIBLE_DEVICES\"] = \"0\"\n", "\n", "import time\n", + "import cv2\n", "import numpy as np\n", "import tensorflow as tf\n", "from glob import glob \n", @@ -95,13 +96,6 @@ "MODEL_ROOT = \"object_detection/model\"" ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] - }, { "cell_type": "markdown", "metadata": {}, @@ -854,7 +848,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.6" + "version": "3.9.7" }, "vscode": { "interpreter": {