File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ The output WASM file will be at [`rust/tf-mobilenet/target/wasm32-wasi/release/w
2525To 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`
4949If 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
5757Execute 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
6363You will get the output:
You can’t perform that action at this time.
0 commit comments