IndexError: list index (0) out of range
Python version: 3.7
Source framework with version (like Tensorflow 1.4.1 with GPU): Tensorflow 1.15
Destination framework with version (like CNTK 2.3 with GPU): Pytorch
Pre-trained model path (webpath or webdisk path): http://www.mediafire.com/folder/hj7vo0v2afi3med,u54587g8g5vfs4g,fkn4s0i4u7m93iw,hvwac3wm1iiwi4a/shared
Hello, I have issues in converting this tensorflow model into pytorch model. I provide the checkpoint files in the link above. The error is the one of the title
Thank you in advance for the help
Hi @alex96295 , thank you for your feedback. I found that QueueDequeMany op in your model has an unknown output_shape shape { unknown_rank: true },which MMdnn cannot handle correctly. We will fix it in the future.
@XiaoXYe thank you for your quick answer. I would have a couple of question, given the situation:
-
Do you know another method to convert a tensorflow model to pytorch? Would the conversion between tensorflow to ONNX be ok? So that I can read it using torch.onnx
-
About the model I gave you, do you know an easy-to-fix alternative that may work in my case using mmdnn? Because I am quite in a hurry to convert it, and I would need it asap
Nevertheless, still thank you for your effort
@alex96295 , our conversion has a intermediate IR form, so some special ops maynot be implemented in parser and emitter both currently. Maybe you can try tf2onnx provided by onnx for conversion from tensorflow to onnx directly.
@XiaoXYe yes I am having a try, but I got some issues Nevertheless, thank you :)