node-red-contrib-tf-model icon indicating copy to clipboard operation
node-red-contrib-tf-model copied to clipboard

Cannot read property 'producer' of undefined

Open Mkveee opened this issue 3 years ago • 1 comments

I have convert my tensorflow model to tensorflow.js model from this https://colab.research.google.com/drive/1aWUWoKUNEfSnDE9RHhBFyHum_XIAKHUd?usp=sharing So I have got model.json and group1-shared1of1.bin from that. So I put model.json into tf.model node but it shows that 'it cannot read property 'producer' of undefined. I want to run custom image classification task on nodered with raspberry pi. Pls suggest me if you think there is sth I can try to achieve that in nodered. [{"id":"453c3fa4.ad135","type":"tab","label":"Flow 6","disabled":false,"info":""},{"id":"62ab9935.52dea8","type":"tf-model","z":"453c3fa4.ad135","modelURL":"file:///home/pi/Downloads/model.json","outputNode":"","name":"","x":670,"y":40,"wires":[["9971b303.8badf"]]},{"id":"9971b303.8badf","type":"debug","z":"453c3fa4.ad135","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1040,"y":220,"wires":[],"info":"{\n payload:{\n image_tensor: image\n }\n}"},{"id":"5ef20a9c.342084","type":"inject","z":"453c3fa4.ad135","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"10","payloadType":"num","x":490,"y":140,"wires":[["62ab9935.52dea8"]]}]

Mkveee avatar Jul 26 '21 08:07 Mkveee

Hi,

Were you able to find a solution to this error?

Thank you in advance.

Vickpire avatar Oct 14 '21 16:10 Vickpire