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
25
25
To speed up the image processing, we can enable the AOT mode in WasmEdge with:
26
26
27
27
``` 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
29
29
```
30
30
31
31
## Run
@@ -49,15 +49,15 @@ The `tf` model is located at `./frozen.pb`
49
49
If you want to generate the [ raw] ( birdx224x224x3.rgb ) tensor, you can run:
50
50
51
51
``` shell
52
- cd rust/image-converter/ && cargo run ../../PurpleGallinule .jpg ../../birdx224x224x3.rgb
52
+ cd rust/image-converter/ && cargo run ../../bird .jpg ../../birdx224x224x3.rgb
53
53
```
54
54
55
55
### Execute
56
56
57
57
Execute the WASM with the ` wasmedge ` with Tensorflow Lite supporting:
58
58
59
59
``` 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
61
61
```
62
62
63
63
You will get the output:
You can’t perform that action at this time.
0 commit comments