|
|
|
@@ -65,13 +65,12 @@ while read line;do |
|
|
|
done < ${models_tflite_config} |
|
|
|
|
|
|
|
#convert caffe models: |
|
|
|
pwd |
|
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./lib/:./third_party/protobuf/lib |
|
|
|
while read line;do |
|
|
|
model_name=$line |
|
|
|
echo $model_name |
|
|
|
pwd |
|
|
|
echo './converter_lite --fmk=CAFFE --modelFile='${models_path}'/'${model_name}'.prototxt --weightFile='${models_path}'/'${model_name}'.caffemodel --outputFile='${ms_models_path}'/'${model_name}'' |
|
|
|
./converter_lite --fmk=TFLITE --modelFile=$models_path/${model_name} --outputFile=${ms_models_path}/${model_name} |
|
|
|
./converter_lite --fmk=CAFFE --modelFile=${models_path}/${model_name}.prototxt --weightFile=${models_path}/${model_name}.caffemodel --outputFile=${ms_models_path}/${model_name} |
|
|
|
done < ${models_caffe_config} |
|
|
|
|
|
|
|
|
|
|
|
|