test_key_frame_extraction.yml 436 字节
Newer Older
W
wangguanzhong 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
ENV:
  run_mode: paddle
  device: GPU
  min_subgraph_size: 3
  trt_calib_mode: False
  cpu_threads: 1
  trt_use_static: False

MODEL:
  - KeyFrameExtractionOp:
      name: kfe
      algo: "luv_diff" # one of [luv_diff, ]
      params:
        thresh: null # you can also set is as 0.6
        use_top_order: False
        use_local_maxima: True
        num_top_frames: 50
        window_len: 50
      Inputs:
        - input.video_path