Forums - caffe to dlc tool conversion

1 post / 0 new
caffe to dlc tool conversion
sushmasrinivas96
Join Date: 9 Mar 21
Posts: 1
Posted: Tue, 2021-03-23 05:16

Hi Team,

We have downloaded and installed snpe tool on Ubuntu16.04 as mentioned here https://developer.qualcomm.com/docs/snpe/setup.html

While running the conversion tool we are facing following error, can you please help us understand the issue?

 

 

 

./snpe-caffe-to-dlc --input_network ~/Downloads/deploy.prototxt --caffe_bin ~/Downloads/bvlc_alexnet.caffemodel --output_path Sushma_First_Model.dlc

Traceback (most recent call last):
  File "./snpe-caffe-to-dlc", line 21, in <module>
    from qti.aisw.converters import caffe as caffe_converter
  File "/home/dddd/Desktop/snpe-1.48.0.2554/lib/python/qti/aisw/converters/caffe/__init__.py", line 8, in <module>
    from .caffe_to_ir import CaffeConverterFrontend
  File "/home/dddd/Desktop/snpe-1.48.0.2554/lib/python/qti/aisw/converters/caffe/caffe_to_ir.py", line 16, in <module>
    from qti.aisw.converters.common.converter_ir.axis_tracker import AxisOrders
  File "/home/dddd/Desktop/snpe-1.48.0.2554/lib/python/qti/aisw/converters/common/converter_ir/axis_tracker.py", line 261
    def permute_shape_to_ir(self, shape: list) -> list:
                                       ^
SyntaxError: invalid syntax

Regards,

Susma
 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.