0
votes

I trained a model in python with tensorflow keras, saved it with model.save(...), converted it with tensorflow-converter and tried to load it into tensorflowjs using tf.loadGraphModel("myurl"). But I got an error on the webconsole saying: TypeError: e.node is undefined in operation_mapper.ts:74:20. The website can be found here and my script here.

Did you try tf.loadLayersModel? - user3276768
Yes, I did, but the error I got using loadLayersModel, but it only threw another, more confusing error: Error: Axis 1,24 of input tensor should have a defined dimension but the layer received an input with shape [null,28,28,1]. But if somebody know how to fix this error it will also be fine. - InformaTiger