Thank for the reply, Timon.
I downloaded the "model.json" and "group1-shard1of1" files you kindly provided and tested loading them using "tf.loadModel". I used @tensorflow/tfjs version 0.12.6. The loading seems to work without any error in both the browser and node.js (with tfjs-node 0.1.14). Here is what model.summary() prints after the model is done loading:
_________________________________________________________________
Layer (type) Output shape Param #
=================================================================
lstm_1 (LSTM) [30,5,32] 4480
_________________________________________________________________
dropout_1 (Dropout) [30,5,32] 0
_________________________________________________________________
lstm_2 (LSTM) [30,32] 8320
_________________________________________________________________
dropout_2 (Dropout) [30,32] 0
_________________________________________________________________
dense_1 (Dense) [30,3] 99
=================================================================
Total params: 12899
Trainable params: 12899
Non-trainable params: 0
_________________________________________________________________
I wonder what is different between your setup and mine. Could you be using an out-of-date version of @tensorflow/tfjs?
Best,
Shanqing