Skip to content

Commit dfea613

Browse files
authored
fix tf in notebooks (openvinotoolkit#1843)
1 parent 8b43684 commit dfea613

File tree

2 files changed

+77
-58
lines changed

2 files changed

+77
-58
lines changed

notebooks/118-optimize-preprocessing/118-optimize-preprocessing.ipynb

+4
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,12 @@
110110
],
111111
"source": [
112112
"import time\n",
113+
"import os\n",
113114
"from pathlib import Path\n",
114115
"\n",
116+
"os.environ[\"TF_CPP_MIN_LOG_LEVEL\"] = \"2\"\n",
117+
"os.environ[\"TF_USE_LEGACY_KERAS\"] = \"1\"\n",
118+
"\n",
115119
"import cv2\n",
116120
"import matplotlib.pyplot as plt\n",
117121
"import numpy as np\n",

notebooks/305-tensorflow-quantization-aware-training/305-tensorflow-quantization-aware-training.ipynb

+73-58
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)