Hi, I have an LSTM autoencoder model which I wanted to convert with input shape
: (1,12,6). However, I am getting this error
```
Traceback (most recent call last):
[bt] (3) /usr/tvm/build/libtvm.so(TVMFuncCall+0x61) [0x7f2fda57dad1]
[bt] (2) /usr/tvm/build/libtvm.so(+0x45e98d) [0x7f2fd9d5098d]
[bt] (1) /usr/tvm/build/libtvm.so(tvm::runtime::TVMPODValue_::operator int()
const+0x141) [0x7f2fd9cda0c1]
[bt] (0)
/usr/tvm/build/libtvm.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x32)
[0x7f2fd9cc1692]
File "/usr/tvm/include/tvm/runtime/packed_func.h", line 430
TVMError: Check failed: type_code_ == kDLInt (11 vs. 0) : expected int but get
str
```
Just wanted to know what does "TVMError: Check failed: type_code_ == kDLInt (11
vs. 0) : expected int but get str" means.
I am using the following code to convert my model:
```
func, params = relay.frontend.from_keras(model, shape_dict)
with relay.build_config(opt_level=opt_level):
graph, lib, params = relay.build_module.build(func, target,
params=params)
```
The shape_dict here is : {'input': (1, 12, 6)}
Pls help :slight_smile:
---
[Visit
Topic](https://discuss.tvm.ai/t/error-in-converting-keras-lstm-model/6153/1) to
respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click
here](https://discuss.tvm.ai/email/unsubscribe/0eb906b38ac778d2445376a8b31bde342d5a5d5c54b4e43a9160f3cc258e4a31).