Tensorflow has not supported operator [Less] with name [image_padding/pad_to_bounding_box/assert_positive/assert_less/Less].
Platform (like ubuntu 16.04/win10): ubuntu
Python version: 3.6
Source framework with version (like Tensorflow 1.4.1 with GPU): Tensorflow 1.10 with GPU
Destination framework with version (like CNTK 2.3 with GPU): caffe with GPU
Pre-trained model path (webpath or webdisk path): https://drive.google.com/drive/folders/1DYdxvMXm6n6BsOy4dOTbN9h43F0CoUoK
Running scripts: python -m mmdnn.conversion._script.convert -sf tensorflow -iw model.pb --inNodeName image_tensor --dstNodeName boxes scores num_boxes -df caffe -om tf_face_detection
Tensorflow has not supported operator [Less] with name [image_padding/pad_to_bounding_box/assert_positive/assert_less/Less].
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/kangmeng/py3env/lib/python3.6/site-packages/mmdnn/conversion/_script/convertToIR.py", line 197, in
How can I convert the pb model to caffe? Any suggests? I will appreciate it .
@merria28 , thank you very much for the feedback. MMdnn does not support the TensorFlow "Less" operator currently. It seems that Caffe does not support any control-flow operators like "Less", so I guess that you may not convert the model to Caffe.