From e8de92be69d44b781b064e46419e8b10cf5e159c Mon Sep 17 00:00:00 2001 From: charvi-077 Date: Tue, 23 Jan 2024 07:47:17 +0000 Subject: [PATCH] Fix Bug : add repo path --- notebooks/onnx_model_example.ipynb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notebooks/onnx_model_example.ipynb b/notebooks/onnx_model_example.ipynb index ca49c3571..3a109096d 100644 --- a/notebooks/onnx_model_example.ipynb +++ b/notebooks/onnx_model_example.ipynb @@ -135,6 +135,8 @@ "import numpy as np\n", "import cv2\n", "import matplotlib.pyplot as plt\n", + "import sys\n", + "sys.path.append(\"..\")\n", "from segment_anything import sam_model_registry, SamPredictor\n", "from segment_anything.utils.onnx import SamOnnxModel\n", "\n",