utensor-mnist-demo icon indicating copy to clipboard operation
utensor-mnist-demo copied to clipboard

Error while running utensor-mnist-demo on Mbed Simulator

Open Selenatabbara opened this issue 6 years ago • 2 comments

@janjongboom Hello, I am trying to use the utensor-mnist-demo project and Mbed Simulator (from https://labs.mbed.com/). I have cloned and run the project on the Mbed Simulator, but I had encountered the following runtime error when the program runs get_deep_mlp_ctx(ctx, smallImage.get_data()); in the main :

Uncaught RuntimeError: float unrepresentable in integer range
   at emterpret (wasm-function[66]:3344)
   at emterpret (wasm-function[66]:4977)
   at emterpret (wasm-function[66]:4977)
   at __ZN12RequantizeOp7computeEv (wasm-function[7500]:38)
   at emterpret (wasm-function[66]:5564)
   at emterpret (wasm-function[66]:4977)
   at emterpret (wasm-function[66]:4977)
   at Object.Module.emterpret (http://localhost:7900/out/utensor-mnist-demo.js:7442:37)
   at resume (http://localhost:7900/out/utensor-mnist-demo.js:6401:34)
   at http://localhost:7900/out/utensor-mnist-demo.js:6455:11

Selenatabbara avatar Sep 04 '19 09:09 Selenatabbara

@Selenatabbara Which branch are you running on? The develop branch in this repo does not build for me at all.

/cc @neil-tan

janjongboom avatar Sep 04 '19 10:09 janjongboom

I have used the develop branch but I have deleted the example folder in the uTensor folder.

Selenatabbara avatar Sep 04 '19 11:09 Selenatabbara