Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

处理长视频(时间超过2秒)时没有效果 #9324

Open
1 task done
moonlightnoodles opened this issue Mar 13, 2025 · 3 comments
Open
1 task done

处理长视频(时间超过2秒)时没有效果 #9324

moonlightnoodles opened this issue Mar 13, 2025 · 3 comments
Assignees

Comments

@moonlightnoodles
Copy link

问题确认 Search before asking

  • 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.

请提出你的问题 Please ask your question

车牌识别模型识别超过两秒钟的视频时出现如下情况,并且返回一个损坏的视频文件
PLEASE USE OMP_NUM_THREADS WISELY.
Warning: Unable to use numba in PP-Tracking, please install numba, for example(python3.7): pip install numba==0.56.4
Warning: Unable to use numba in PP-Tracking, please install numba, for example(python3.7): pip install numba==0.56.4
Warning: Unable to use numba in PP-Tracking, please install numba, for example(python3.7): pip install numba==0.56.4
Warning: Unable to use numba in PP-Tracking, please install numba, for example(python3.7): pip install numba==0.56.4
----------- Running Arguments -----------
DET:
batch_size: 1
model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/mot_ppyoloe_l_36e_ppvehicle.zip
LANE_SEG:
lane_seg_config: deploy/pipeline/config/lane_seg_config.yml
model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/pp_lite_stdc2_bdd100k.zip
MOT:
batch_size: 1
enable: false
model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/mot_ppyoloe_l_36e_ppvehicle.zip
skip_frame_num: -1
tracker_config: deploy/pipeline/config/tracker_config.yml
VEHICLE_ATTR:
batch_size: 8
color_threshold: 0.5
enable: false
model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/vehicle_attribute_model.zip
type_threshold: 0.5
VEHICLE_PLATE:
det_limit_side_len: 736
det_limit_type: min
det_model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_det_infer.tar.gz
enable: false
rec_batch_num: 6
rec_image_shape:

  • 3
  • 48
  • 320
    rec_model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/ch_PP-OCRv3_rec_infer.tar.gz
    word_dict_path: deploy/pipeline/ppvehicle/rec_word_dict.txt
    VEHICLE_PRESSING:
    enable: false
    VEHICLE_RETROGRADE:
    deviation: 23
    enable: false
    fence_line: []
    filter_horizontal_flag: true
    frame_len: 8
    keep_right_flag: true
    move_scale: 0.01
    sample_freq: 7
    crop_thresh: 0.5
    visual: true
    warmup_frame: 50

DET model dir: /root/.cache/paddle/infer_weights/mot_ppyoloe_l_36e_ppvehicle
mot_model_dir model_dir: /root/.cache/paddle/infer_weights/mot_ppyoloe_l_36e_ppvehicle
LANE_SEG model dir: /root/.cache/paddle/infer_weights/pp_lite_stdc2_bdd100k
video fps: 12, frame_count: 983
save result to output/special_car2.mp4
------------------ Inference Time Info ----------------------
total_time(ms): 0.0, img_num: 0
average latency time(ms): 0.00, QPS: 0.000000

并且命令不会中止,会一直卡在这一行

@liuhongen1234567
Copy link
Collaborator

您好,可以提供一下复现命令吗?我们这边排查一下

@moonlightnoodles
Copy link
Author

您好,可以提供一下复现命令吗?我们这边排查一下

其实就是您文档中的命令

#预测单个视频文件
python deploy/pipeline/pipeline.py --config deploy/pipeline/config/infer_cfg_ppvehicle.yml \
                                                   --video_file=test_video.mp4 \
                                                   --device=gpu

@moonlightnoodles
Copy link
Author

您好,可以提供一下复现命令吗?我们这边排查一下

其实就是您文档中的命令

#预测单个视频文件
python deploy/pipeline/pipeline.py --config deploy/pipeline/config/infer_cfg_ppvehicle.yml \
                                                   --video_file=test_video.mp4 \
                                                   --device=gpu

paddlepaddle版本号:2.6.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants