Skip to content

Commit 2445227

Browse files
author
ye jianbai
committed
docs: fix command
Signed-off-by: ye jianbai <your_email@abc.example>
1 parent 2b1c06c commit 2445227

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tf-mobilenet-image/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The output WASM file will be at [`rust/tf-mobilenet/target/wasm32-wasi/release/w
2525
To speed up the image processing, we can enable the AOT mode in WasmEdge with:
2626

2727
```bash
28-
wasmedgec rust/tf-mobilenet/target/wasm32-wasi/release/wasmedge-wasinn-example-tf-mobilenet-image.wasm wasmedge-wasinn-example-tf-mobilenet-image.wasm
28+
wasmedgec rust/tf-mobilenet/target/wasm32-wasi/release/wasmedge-wasinn-example-tf-mobilenet-image.wasm run.wasm
2929
```
3030

3131
## Run
@@ -49,15 +49,15 @@ The `tf` model is located at `./frozen.pb`
4949
If you want to generate the [raw](birdx224x224x3.rgb) tensor, you can run:
5050

5151
```shell
52-
cd rust/image-converter/ && cargo run ../../PurpleGallinule.jpg ../../birdx224x224x3.rgb
52+
cd rust/image-converter/ && cargo run ../../bird.jpg ../../birdx224x224x3.rgb
5353
```
5454

5555
### Execute
5656

5757
Execute the WASM with the `wasmedge` with Tensorflow Lite supporting:
5858

5959
```bash
60-
wasmedge --dir .:. wasmedge-wasinn-example-tf-mobilenet-image.wasm frozen.pb PurpleGallinule.jpg
60+
wasmedge --dir .:. wasmedge-wasinn-example-tf-mobilenet-image.wasm saved_model.pb bird.jpg
6161
```
6262

6363
You will get the output:
Binary file not shown.

0 commit comments

Comments
 (0)