Skip to content

Commit 9fce4a6

Browse files
authored
fix clip and blip issues (#2697)
1 parent 5e15a72 commit 9fce4a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

notebooks/blip-visual-language-processing/blip-visual-language-processing.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1293,7 +1293,7 @@
12931293
"source": [
12941294
"%%skip not $to_quantize.value\n",
12951295
"\n",
1296-
"if not TEXT_ENCODER_OV_INT8.exists()\n",
1296+
"if not TEXT_ENCODER_OV_INT8.exists():\n",
12971297
" text_encoder_dataset = nncf.Dataset(calibration_data, lambda x: x[\"text_encoder_inputs\"])\n",
12981298
" text_encoder_model = core.read_model(TEXT_ENCODER_OV)\n",
12991299
"\n",

notebooks/clip-zero-shot-image-classification/clip-zero-shot-classification.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
"sample_path = Path(\"data/coco.jpg\")\n",
201201
"sample_path.parent.mkdir(parents=True, exist_ok=True)\n",
202202
"\n",
203-
"if not sample_path.exists()\n",
203+
"if not sample_path.exists():\n",
204204
" r = requests.get(\"https://storage.openvinotoolkit.org/repositories/openvino_notebooks/data/data/image/coco.jpg\")\n",
205205
"\n",
206206
" with sample_path.open(\"wb\") as f:\n",

0 commit comments

Comments
 (0)