Versions Compared

Key

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

...

You can use the script we provide to start as follows:

Code Block
   /SNNF/release # ./snnf_run.sh
Usage: ./bin/snnf_nnsample [-m|-s|-a|-h] [-i|-v|option]
        Version: 1.0.0_
        Time:
        [-m,--model <model>] run a single model
                <model>:Age                            ArcFace                        Det10g                      HumanAttr
  HumanAttr                      LightFace                      OcrCls
                        OcrDet
                        OcrRec                         VehicleAttr                      W600kR50
  W600kR50                       Yolov5sDetection               Yolov5sV1                      Yolov5sV2
  Yolov5sV2                      Yolov8nClassify                Yolov8sClassify                  Yolov5sV3
      Yolov5sV3                      BotSortTrackStgcn              Rtmdets
                        YoloV10sDetection              YoloV8nCcpd                  YoloV10sDetection
 YoloV8nDetectionBaseOpti                       YoloV8nCcpd  YoloV8nDetectionOpti           YoloV8nObbOpti   YoloV8nDetectionBaseOpti   YoloV8nDetectionOpti
          YoloV8nPoseOpti              YoloV8nObbOpti           YoloV8nSegmentOpti  YoloV8nPoseOpti           YoloV8sDetection YoloV8nSegmentOpti
             YoloV8sDetectionBaseOpti           YoloV8sDetection           YoloV8sDetectionBaseOpti   YoloV8sDetectionOpti
          YoloV8sObb              YoloV8sObb       YoloV8sPose          YoloV8sPose                YoloV8sSegment

                example:./bin/snnf_nnsample -m Yolov5sDetection
                        ./bin/snnf_nnsample --model HumanAttr

        [-s,--sequential <model1,model2,...>] run sequential models
                <models>:Yolov5sDetection,HumanAttr
                        LightFace,Age
                        OcrDet,OcrRec
                        OcrDet,OcrCls,OcrRec
                        YoloV8nCcpd,OcrRec
                        Det10g,W600kR50
                        YoloV8sDetection,VehicleAttr
                        YoloV8nDetectionOpti,BotSortTrack
                        YoloV8nPoseOpti,BotSortTrackStgcn
                        YoloV8nCcpd,OcrRec
                        YoloV8nCcpd,OcrCls,OcrRec

                example:./bin/snnf_nnsample -s Yolov5sDetectionYolov5s,HumanAttr
                        ./bin/snnf_nnsample --sequential ocrDet,ocrCls,ocrRec
                        ./bin/snnf_nnsample -s YoloV8nCcpd,OcrRec,imageWriter
                        ./bin/snnf_nnsample -s YoloV8nDetectionOpti,BotSortTrack,videoWriter -v resource/video/humanCount.mp4
                        ./bin/snnf_nnsample -s YoloV8nPoseOpti,BotSortTrackStgcn,videoWriter -v resource/video/person-falling.mp4

        [-i,--image file] set image file to nn detection.
                <file>: file name
                [-c | option]: test count, this parameter is only match with -i

                example:./bin/snnf_nnsample -s Yolov5sDetection,HumanAttr -i filename -c testCount
                        ./bin/snnf_nnsample -s Yolov5sDetection,HumanAttr --image filename -c testCount

        [-v,--video file] set video file to nn detection.
                <file>: file name

                example:./bin/snnf_nnsample -s Yolov5sDetection,HumanAttr -v filename
                        ./bin/snnf_nnsample -s Yolov5sDetection,HumanAttr --video filename

        [-a,--all] run all model testing

        assist tools: imageWriter videoWriter BotSortTrack

...