Dear qcom,
When I Creating DLC following the problems:
Copying Caffe model
Creating DLC
Encountered Error: 'module' object has no attribute 'set_mode_cpu'
Stack Trace:
Traceback (most recent call last):
File "/home/ckt/snpe-sdk/bin/x86_64-linux-clang/snpe-caffe-to-dlc", line 74, in <module>
converter_command)
File "/home/ckt/snpe-sdk/lib/python/snpe/snpe_caffe_to_dlc.py", line 925, in convert
caffe.set_mode_cpu()
AttributeError: 'module' object has no attribute 'set_mode_cpu'
Getting imagenet aux data
Creating ilsvrc_2012_mean.npy
ERROR: 'module' object has no attribute 'proto'
Please help analysis of what could be the cause.
Hi,
It appears that Caffe environment has not been set up properly to work with SNPE. Caffe python modules are not located by the DLC converter.
As per https://developer.qualcomm.com/software/snapdragon-neural-processing-eng... you need to install Caffe and do SDK setup. Was that completed successfully?
You can also refer to the SDK documentaion, SNPE setup: ..../doc/html/setup.html
Dear moljaca,
Yes,It's Caffe environment has not been set up properly to work with SNPE
Thanks for support.