Open sharmalakshay93 opened 5 years ago
Hi @sharmalakshay93, I think it is just because the LSTM is not supported currently for MMdnn
.
When will the mmdnn team will work on that? I have a problem on my end too on that.
Hi @eloi-loomai, if your source is TensorFlow, mmdnn supports it.
Ok, unfortunately my source is pytorch
I'm trying to convert a Keras model with some LSTM layers to an MXNet equivalent by running the command
mmconvert -sf keras -iw audio_model.h5 -df mxnet -om keras_to_mxnet_mmdnn.dnn
; the python script containingRefactorModel
(and some other files) appear to be created fine, but the following exception is being thrown (contains a few extra lines that I logged out):Is this because LSTM is simply not supported for MXNet conversions? Or is there something that I might be doing incorrectly? Thanks!
Platform (like ubuntu 16.04/win10): Mac OS Sierra 10.12.6
Python version: 3.6
Source framework with version (like Tensorflow 1.4.1 with GPU): Keras
Destination framework with version (like CNTK 2.3 with GPU): MXNet
Pre-trained model path (webpath or webdisk path): locally stored and self-created
Running scripts: