You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that there are some shape_not_implemented in LAYER_DESCRIPTORS of MMdnn/mmdnn/conversion/caffe/graph.py , and this will cause exceptions as title. How to solve these?
Platform: Red Hat 4.8.5-11 with 4 Nvidia Tesla P40 GPUs
Python version: Python 3.6.5: Anaconda, Inc.
MMdnn: #567 version 0.2.3
Source framework: caffe (I didn't install caffe in my linux, but use from mmdnn.conversion.caffe import caffe_pb2 as backend)
Destination framework: IR
Pre-trained model path : weights of face_segmentation
[liuqixuan_i@ml-gpu-ser544 codes]$ mmtoir -f caffe -w face_seg_fcn8s.caffemodel -n face_seg_fcn8s_deploy.prototxt -d fcn8s_ir --inputShape 3 500 500
------------------------------------------------------------
WARNING: PyCaffe not found!
Falling back to a pure protocol buffer implementation.
* Conversions will be drastically slower.
* This backend is UNTESTED!
------------------------------------------------------------
Traceback (most recent call last):
File "/home/liuqixuan_i/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/caffe/graph.py", line 130, in compute_output_shape
return LAYER_DESCRIPTORS[node.kind](node)
File "/home/liuqixuan_i/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/caffe/shape.py", line 35, in shape_not_implemented
raise NotImplementedError
NotImplementedError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/liuqixuan_i/anaconda3/bin/mmtoir", line 11, in <module>
sys.exit(_main())
File "/home/liuqixuan_i/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/_script/convertToIR.py", line 192, in _main
ret = _convert(args)
File "/home/liuqixuan_i/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/_script/convertToIR.py", line 16, in _convert
transformer = CaffeTransformer(args.network, args.weights, "tensorflow", inputshape[0], phase = args.caffePhase)
File "/home/liuqixuan_i/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/caffe/transformer.py", line 322, in __init__
graph = GraphBuilder(def_path, self.input_shape, self.is_train_proto, phase).build()
File "/home/liuqixuan_i/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/caffe/graph.py", line 450, in build
graph.compute_output_shapes(self.model)
File "/home/liuqixuan_i/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/caffe/graph.py", line 274, in compute_output_shapes
node.output_shape = TensorShape(*NodeKind.compute_output_shape(node))
File "/home/liuqixuan_i/anaconda3/lib/python3.6/site-packages/mmdnn/conversion/caffe/graph.py", line 132, in compute_output_shape
raise ConversionError('Output shape computation not implemented for type: %s' % node.kind)
mmdnn.conversion.caffe.errors.ConversionError: Output shape computation not implemented for type: Crop
The text was updated successfully, but these errors were encountered:
I found that there are some
shape_not_implemented
inLAYER_DESCRIPTORS
of MMdnn/mmdnn/conversion/caffe/graph.py , and this will cause exceptions as title. How to solve these?Platform: Red Hat 4.8.5-11 with 4 Nvidia Tesla P40 GPUs
Python version: Python 3.6.5: Anaconda, Inc.
MMdnn: #567 version 0.2.3
Source framework: caffe (I didn't install caffe in my linux, but use
from mmdnn.conversion.caffe import caffe_pb2
as backend)Destination framework: IR
Pre-trained model path : weights of face_segmentation
Running scripts:
mmtoir -f caffe -w face_seg_fcn8s.caffemodel -n face_seg_fcn8s_deploy.prototxt -d fcn8s_ir --inputShape 3 500 500
Error messages:
The text was updated successfully, but these errors were encountered: