Skip to content

Commit 4516746

Browse files
avoid conflict on cv2 import with apple silicon chips
1 parent 34be665 commit 4516746

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

section_2_sensor_data_processing/5_object_detection.ipynb

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"os.environ[\"CUDA_VISIBLE_DEVICES\"] = \"0\"\n",
7272
"\n",
7373
"import time\n",
74+
"import cv2\n",
7475
"import numpy as np\n",
7576
"import tensorflow as tf\n",
7677
"from glob import glob \n",
@@ -95,13 +96,6 @@
9596
"MODEL_ROOT = \"object_detection/model\""
9697
]
9798
},
98-
{
99-
"cell_type": "code",
100-
"execution_count": null,
101-
"metadata": {},
102-
"outputs": [],
103-
"source": []
104-
},
10599
{
106100
"cell_type": "markdown",
107101
"metadata": {},
@@ -854,7 +848,7 @@
854848
"name": "python",
855849
"nbconvert_exporter": "python",
856850
"pygments_lexer": "ipython3",
857-
"version": "3.9.6"
851+
"version": "3.9.7"
858852
},
859853
"vscode": {
860854
"interpreter": {

0 commit comments

Comments
 (0)