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

为啥识别不出来视频文件夹里的视频 #8954

Open
1 task done
primary-stu opened this issue May 2, 2024 · 0 comments
Open
1 task done

为啥识别不出来视频文件夹里的视频 #8954

primary-stu opened this issue May 2, 2024 · 0 comments
Assignees

Comments

@primary-stu
Copy link

问题确认 Search before asking

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

请提出你的问题 Please ask your question

在运行pipeline.py时,我按照官方文档的启动命令填入视频地址,报错,
video_file: E:/bishe/bishejiankong.mp4
Traceback (most recent call last):
File "deploy/pipeline/pipeline.py", line 1323, in
main()
File "deploy/pipeline/pipeline.py", line 1308, in main
pipeline = Pipeline(FLAGS, cfg)
File "deploy/pipeline/pipeline.py", line 85, 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.
第一行的输出是我在代码里加入了打印,结果显示和我输入的地址一摸一样,官方文档里说图片、视频、rtsp都可以,所以我的输入应该没问题,不懂该怎么办了。
这是我的启动命令:python deploy/pipeline/pipeline.py --config deploy/pipeline/config/examples/infer_cfg_illegal_parking.yml --video_file=E:/bishe/bishejiankong.mp4 --device=gpu --draw_center_traj --illegal_parking_time=5 --region_type=custom --region_polygon 1000 550 1200 570 800 730 1050 740
屏幕截图 2024-05-02 165954

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

2 participants