-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
怎么批量处理视频文件 #5742
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
怎么批量处理视频文件,在输入video_dir时,总是识别不了文件夹中的文件
(PaddleDetection) PS D:\03data analysis\05pedtest2\PaddleDetection-release-2.6> python deploy/pipeline/pipeline.py --config deploy/pipeline/config/infer_cfg_pphuman.yml --video_dir=in --device=gpu --draw_center_traj --do_break_in_counting --region_type=custom --region_polygon 0 680 1920 680 1920 1080 0 1080
D:\01software\04tech\Anaconda\envs\PaddleDetection\lib\site-packages\setuptools\sandbox.py:13: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
D:\01software\04tech\Anaconda\envs\PaddleDetection\lib\site-packages\pkg_resources_init_.py:2871: DeprecationWarning: Deprecated call to
pkg_resources.declare_namespace('mpl_toolkits')
.Implementing implicit namespace packages (as specified in PEP 420) is preferred to
pkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packagesdeclare_namespace(pkg)
D:\01software\04tech\Anaconda\envs\PaddleDetection\lib\site-packages\pkg_resources_init_.py:2871: DeprecationWarning: Deprecated call to
pkg_resources.declare_namespace('google')
.Implementing implicit namespace packages (as specified in PEP 420) is preferred to
pkg_resources.declare_namespace
. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packagesdeclare_namespace(pkg)
ArgsParser(prog='pipeline.py', usage=None, description=None, formatter_class=<class 'argparse.RawDescriptionHelpFormatter'>, conflict_handler='error', add_help=True)
----------- Running Arguments -----------
ATTR:
batch_size: 8
enable: false
model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/PPLCNet_x1_0_person_attribute_945_infer.zip
DET:
batch_size: 1
model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/mot_ppyoloe_l_36e_pipeline.zip
ID_BASED_CLSACTION:
batch_size: 8
display_frames: 80
enable: false
model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/PPHGNet_tiny_calling_halfbody.zip
skip_frame_num: 2
threshold: 0.8
ID_BASED_DETACTION:
batch_size: 8
display_frames: 80
enable: false
model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/ppyoloe_crn_s_80e_smoking_visdrone.zip
skip_frame_num: 2
threshold: 0.6
KPT:
batch_size: 8
model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/dark_hrnet_w32_256x192.zip
MOT:
batch_size: 1
enable: true
model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/mot_ppyoloe_l_36e_pipeline.zip
skip_frame_num: 0
tracker_config: deploy/pipeline/config/tracker_config.yml
REID:
batch_size: 16
enable: false
model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/reid_model.zip
SKELETON_ACTION:
batch_size: 1
coord_size:
display_frames: 80
enable: false
max_frames: 50
model_dir: https://bj.bcebos.com/v1/paddledet/models/pipeline/STGCN.zip
VIDEO_ACTION:
batch_size: 1
enable: false
frame_len: 8
model_dir: https://videotag.bj.bcebos.com/PaddleVideo-release2.3/ppTSM_fight.zip
sample_freq: 7
short_size: 340
target_size: 320
attr_thresh: 0.5
crop_thresh: 0.5
kpt_thresh: 0.2
visual: true
warmup_frame: 50
Traceback (most recent call last):
File "deploy/pipeline/pipeline.py", line 1396, in
main()
File "deploy/pipeline/pipeline.py", line 1380, in main
pipeline = Pipeline(FLAGS, cfg)
File "deploy/pipeline/pipeline.py", line 87, in init
self.input = self._parse_input(args.image_file, args.image_dir,
File "deploy/pipeline/pipeline.py", line 114, in _parse_input
assert os.path.exists(
AssertionError: video_file not exists and not an rtsp site.
The text was updated successfully, but these errors were encountered: