Skip to content

Commit e8531e5

Browse files
correct the file name in text
1 parent 9ee22fb commit e8531e5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

AI-and-Analytics/Getting-Started-Samples/iLiT-Sample-for-Tensorflow/ilit_sample_tensorflow.ipynb

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"source": [
5252
"Import python packages and check version.\n",
5353
"\n",
54-
"Make sure the Tensorflow is **2.2** and iLiT, matplotlib are installed."
54+
"Make sure the Tensorflow is **2.x** and iLiT, matplotlib are installed."
5555
]
5656
},
5757
{
@@ -297,7 +297,6 @@
297297
"def auto_tune(input_graph_path, yaml_config, batch_size): \n",
298298
" fp32_graph = alexnet.load_pb(input_graph_path)\n",
299299
" quan = ilit.Quantization(yaml_config)\n",
300-
" assert(tuner)\n",
301300
" dataloader = Dataloader(batch_size)\n",
302301
" assert(dataloader)\n",
303302
" q_model = quan(\n",
@@ -368,11 +367,11 @@
368367
"source": [
369368
"## Compare Quantized Model\n",
370369
"\n",
371-
"We prepare a script **profile_lpot.py** to test the performance of PB model.\n",
370+
"We prepare a script **profiling_lpot.py** to test the performance of PB model.\n",
372371
"\n",
373372
"There is no correct performance data if run the code by jupyter notebook. So we run the script as process.\n",
374373
"\n",
375-
"Let learn **profile_lpot.py**. "
374+
"Let learn **profiling_lpot.py**. "
376375
]
377376
},
378377
{
@@ -381,14 +380,14 @@
381380
"metadata": {},
382381
"outputs": [],
383382
"source": [
384-
"!cat profile_lpot.py"
383+
"!cat profiling_lpot.py"
385384
]
386385
},
387386
{
388387
"cell_type": "markdown",
389388
"metadata": {},
390389
"source": [
391-
"Execute the **profile_lpot.py** with FP32 model file:"
390+
"Execute the **profiling_lpot.py** with FP32 model file:"
392391
]
393392
},
394393
{
@@ -404,7 +403,7 @@
404403
"cell_type": "markdown",
405404
"metadata": {},
406405
"source": [
407-
"Execute the **profile_lpot.py** with int8 model file:"
406+
"Execute the **profiling_lpot.py** with int8 model file:"
408407
]
409408
},
410409
{

0 commit comments

Comments
 (0)