Open bwang482 opened 6 years ago
Hi @bluemonk482 , could you please provide your model?
@rainLiuplus Thanks for your reply! Here is the saved weights and graph of the model: https://www.dropbox.com/s/7j3d0zptjl8qo0h/cnn_tree.ckpt-51243.zip?dl=0
It is pretty small.
@rainLiuplus @bluemonk482 How to convert it to pytorch? I'm using original author pretrained-model. mmconvert -sf tensorflow -in model-20180402-114759.meta -iw model-20180402-114759.ckpt-275.index --dstNodeName embeddings -df pytorch -om 20180402-114759.pth
Error:
Anyone successfully able to convert tensorflow to caffe2?
I am getting the following error while conversion. Can anyone plz tell me how to resolve this error?
_paul90@cloud8:/export1/paul90/new_tensorflow/tensorflow$ mmconvert -sf tensorflow -in sp_birnn_ckpt/sp_model.ckpt.meta -iw sp_birnn_ckpt/sp_model.ckpt.index --dstNodeName GradientDescent -df caffe2 -om tf2Caffe2
TensorflowEmitter has not supported operator [StopGradient] with name [softmax_cross_entropy_with_logits_sg/labels_stop_gradient].
TensorflowEmitter has not supported operator [NoOp] with name [GradientDescent].
Traceback (most recent call last):
File "/home/paul90/.local/bin/mmconvert", line 11, in
@spaul13 hi ! i got the same err on my mtcnn-tf-model2caffe work did you solve the problem ?
@grapefruitL I got the same problem and I solved. Try to install mmdnn again, following this website https://github.com/microsoft/MMdnn
@spaul13 @grapefruitL hi, i got the same err, did you solve the problem ?
Platform (like ubuntu 16.04/win10): Ubuntu 16.04
Python version: Python 3.5.5
Source framework with version (like Tensorflow 1.4.1 with GPU): Tensorflow 1.10.1 with GPU
Destination framework with version (like CNTK 2.3 with GPU): Caffe2 with CPU / Pytorch 0.4.1 with GPU
Pre-trained model path (webpath or webdisk path): No web path. It is a pre-trained cnn model in tensorflow
Error:
There are a lot of
not supported operator
s, and thus the reason the failure?