Unverified Commit d3143cbc authored by derekjchow's avatar derekjchow Committed by GitHub
Browse files

Merge pull request #3410 from mgruben/patch-1

Fix PythonPath dependencies
parents af6527c9 bf294271
...@@ -35,6 +35,9 @@ ...@@ -35,6 +35,9 @@
"from io import StringIO\n", "from io import StringIO\n",
"from matplotlib import pyplot as plt\n", "from matplotlib import pyplot as plt\n",
"from PIL import Image\n", "from PIL import Image\n",
"\n",
"# This is needed since the notebook is stored in the object_detection folder.\n",
"sys.path.append(\"..\")\n",
"from object_detection.utils import ops as utils_ops\n", "from object_detection.utils import ops as utils_ops\n",
"\n", "\n",
"if tf.__version__ < '1.4.0':\n", "if tf.__version__ < '1.4.0':\n",
...@@ -55,10 +58,7 @@ ...@@ -55,10 +58,7 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"# This is needed to display the images.\n", "# This is needed to display the images.\n",
"%matplotlib inline\n", "%matplotlib inline"
"\n",
"# This is needed since the notebook is stored in the object_detection folder.\n",
"sys.path.append(\"..\")"
] ]
}, },
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment