Browse Source

add new net

tags/v0.7.0-beta
andy 5 years ago
parent
commit
9b6effe99e
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      mindspore/lite/test/run_benchmark_nets.sh

+ 2
- 3
mindspore/lite/test/run_benchmark_nets.sh View File

@@ -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}




Loading…
Cancel
Save