test.sh 433 B

123456789101112131415161718
  1. #!/bin/bash
  2. while true
  3. do
  4. CURRENT_DIR=$(cd $(dirname ${BASH_SOURCE[0]});pwd)
  5. CNSTREAM_ROOT=${CURRENT_DIR}/../../..
  6. SOURCE_ROOT=${CNSTREAM_ROOT}/source
  7. MODELS_ROOT=${CNSTREAM_ROOT}/data/models
  8. CONFIGS_ROOT=${SOURCE_ROOT}/cns_launcher/configs
  9. ${SOURCE_ROOT}/bin/main \
  10. --data_path ${SOURCE_ROOT}/files.list_test \
  11. --src_frame_rate 25 \
  12. --config_fname ${CURRENT_DIR}/detection_test.json \
  13. --log_to_file=true
  14. done