Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

How to change AI model

  1. Please replace
    data_CV2X/cnn/mobilenetv1_ssd_cavalry*.bin
    and
    data_CV5X/cnn/mobilenet_priorbox_fp32*.bin
    with your model.

  2. Please change the following part of main.cpp according to your model.
    #define OUTSIZE_HEIGHT<Input height of your model>
    #define OUTSIZE_WIDTH<Input width of your model>

    #define NETNAME<File name of your model>
    #define LAYERNAMEIN"data"<Input layer name of your model>
    #define LAYERNAMEOUT_CONV59"conv59"<Output layer name of your model>
    #define LAYERNAMEOUT_CONV67"conv67"<Output layer name of your model>
    #define LAYERNAMEOUT_CONV75"conv75"<Output layer name of your model>
    #define PROPERTY_NUMCLASSES<Number of classes of your model>

  3. Please describe "names" (label-objectname matrix) according to your model.

...