zsajjad / onnx-heartbeat

ONNX.js tutorial for heartbeat by Fritz.ai
15 stars 5 forks source link

Error: invalid wire type 4 at offset 3 on loading model #1

Open aghinsa opened 4 years ago

aghinsa commented 4 years ago

Hey, i'm trying to make a react app with js.I was following your tutorial,on loading the model i get the error Error: invalid wire type 4 at offset 3.Any help is appreciated.Thanks.

vigneshraamachandran commented 7 months ago

this is because of protobuf the binary serializer on browsers , this error happens when we refer a local files into client side . I have tried to upload the model into blob and refer a link to load that model and it help me to get rid of this problem but i ran into another problem Error loading model: Error: unrecognized input '' for node: LSTM__64 so , i hope it's helps and please share any solution regarding this issue