Open thefiddler opened 5 years ago
Hi @thefiddler, there are a few unimplemented ops, including [Ceil], [Round] and [ResizeBicubic], which caused this error. But it seems that the model you provided is more like a preprocessing part of a complete model. If so, I need to explain that MMdnn does not support preprocessing of the conversion model. Thanks.
@rainLiuplus thank you for your reply. This is indeed part of a complete model that was failing to be converted.
I simply isolated the failing part so that the issue can be reproduced more easily.
Emm, so MMdnn does not support it. Maybe you can write code manually to implement preprocessing.
Dear @rainLiuplus would you help to figure out,whats the problem? since i found "MaxPoolWithArgmax" exist in tensorflow documentation. when use mmdnn convert, it shew me "Tensorflow has not supported operator [MaxPoolWithArgmax] with name [resnet_model/MaxPoolWithArgmax]."
WARNING:tensorflow:From /usr/local/python3.7.5/lib/python3.7/site-packages/mmdnn/conversion/tensorflow/tensorflow_frozenparser.py:175: The name tf.train.export_meta_graph is deprecated. Please use tf.compat.v1.train.export_meta_graph instead.
Tensorflow has not supported operator [MaxPoolWithArgmax] with name [resnet_model/MaxPoolWithArgmax].
Traceback (most recent call last):
File "/usr/local/python3.7.5/bin/mmconvert", line 8, in
Platform: archlinux
Python version: 3.7.2
Source framework with version: Tensorflow 1.13 with GPU
Destination framework with version: onnx
Pre-trained model path (webpath or webdisk path): test.pb.zip
Running scripts:
mmconvert -sf tensorflow -iw test.pb --inNodeName "in" --inputShape "512,512,1" --dstNodeName "out" -df onnx -om test.onnx 2>1 error.txt