Comments (4)
Hi, Please refer the last step of Tensorflow ReadME and see if it works. Thanks.
Btw, we just tested caffe vgg and googlenet model (with inference result validation). More pre-trained model samples are welcome.
from mmdnn.
Hi,
My numpy files were converted by ethereon's converter. Since the output by his converter will include from kaffe.tensorflow import Network
, they can't be fit into your converter.
So I tried to use your caffe to IR converter. The error happened as following:
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/mmdnn/conversion/_script/convertToIR.py", line 156, in <module>
_main()
File "/usr/local/lib/python2.7/dist-packages/mmdnn/conversion/_script/convertToIR.py", line 151, in _main
ret = _convert(args)
File "/usr/local/lib/python2.7/dist-packages/mmdnn/conversion/_script/convertToIR.py", line 10, in _convert
graph = transformer.transform_graph()
File "/usr/local/lib/python2.7/dist-packages/mmdnn/conversion/caffe/transformer.py", line 348, in transform_graph
mapped_node = self.map_node(node)
File "/usr/local/lib/python2.7/dist-packages/mmdnn/conversion/caffe/transformer.py", line 368, in map_node
mapped_node = map_func(node)
File "/usr/local/lib/python2.7/dist-packages/mmdnn/conversion/caffe/mapper.py", line 117, in map_pooling
kwargs, padding = cls.get_kernel_params(node)
File "/usr/local/lib/python2.7/dist-packages/mmdnn/conversion/caffe/mapper.py", line 38, in get_kernel_params
if node.kernel_parameters.p_h > 0 or node.kernel_parameters.p_w > 0:
File "/usr/local/lib/python2.7/dist-packages/mmdnn/conversion/caffe/graph.py", line 187, in kernel_parameters
k_h = self.get_kernel_value(params.kernel_h, params.kernel_size, 0)
File "/usr/local/lib/python2.7/dist-packages/mmdnn/conversion/caffe/graph.py", line 180, in get_kernel_value
raise ValueError('Unable to determine kernel parameter!')
ValueError: Unable to determine kernel parameter!
Can you please check it out?
If you wanna reproduce the error, here is my caffe model: Xception
Thank you.
from mmdnn.
@seanchung2 Checked the model. Currently we don't support Conv with groups attribute. We will implement it soon. Thanks.
from mmdnn.
Hi @seanchung2 ,
The problem is lacking support of Global Pooling in old version MMdnn. Newest master implement it and tested in my env. Please have a try.
Thanks.
from mmdnn.
Related Issues (20)
- Handling multiple inputs in keras
- load higher version pytorch model error
- AttributeError: 'NoneType' object has no attribute 'name' in FusedBatchNorm HOT 3
- KeyError while converting PyTorch model to IR
- How to make modifications?
- Make upgrades?
- Fail to convert resnet101 from PyTorch to IR
- Convert Inception_v3 from Caffe to PyTorch
- SpaceToBatchND/BatchToSpaceND not supported while converting from tensorflow to caffe
- Fail to Convert resnet from Caffe to onnx and Pytorch
- mmtoir from PyTorch 2 IR missing .json, .npy and .pb file
- Getting ValueError: axes don't match array
- Pytorch model GFPGANv1.3.pth
- onnx2IR? HOT 1
- This repo is missing important files HOT 2
- How can I convert tf(.pb) to pytorch?
- Error to convert a model from IR to Pytorch
- Error converting caffe to torch model HOT 1
- pytorch to onnx
- pytorch to onnx
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmdnn.