m0_62267751 2022-10-20 13:53 采纳率: 85.7%
浏览 81
已结题

PPhuman开启摄像头检测失败

在PaddleDetection用pphuman检测跌倒,我想启动摄像头报错了

命令:
C:\Users\13708\PaddleDetection\deploy\pipeline\pipeline.py --config deploy/pipeline/config/examples/infer_cfg_fall_down-Copy-local.yml --camera_id 0 --device=gpu
开始运行了一会儿才报错
error:
Traceback (most recent call last):
File "C:\Users\13708\PaddleDetection\deploy\pipeline\pipeline.py", line 1103, in
main()
File "C:\Users\13708\PaddleDetection\deploy\pipeline\pipeline.py", line 1088, in main
pipeline = Pipeline(FLAGS, cfg)
File "C:\Users\13708\PaddleDetection\deploy\pipeline\pipeline.py", line 89, in init
self.predictor.set_file_name(self.input)
File "C:\Users\13708\PaddleDetection\deploy\pipeline\pipeline.py", line 476, in set_file_name
self.file_name = os.path.split(path)[-1]
File "C:\Users\13708\AppData\Local\Programs\Python\Python39\lib\ntpath.py", line 185, in split
p = os.fspath§
TypeError: expected str, bytes or os.PathLike object, not int

  • 写回答

1条回答 默认 最新

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 10月27日
  • 创建了问题 10月20日

悬赏问题

  • ¥60 iinfercnv 肿瘤进化树
  • ¥15 如何入门学习c语言,单片机
  • ¥15 idea 编辑语言的选择
  • ¥15 Windows下部署Asmjit
  • ¥15 请问双层规划模型的上下层目标函数不一致,是如何保证迭代收敛性的
  • ¥15 微信小程序 前端页面内容搜索
  • ¥15 cpu是如何判断当前指令已经执行完毕,然后去执行下条指令的
  • ¥15 安装visual studio2022时visualstudiosetup启动不了,闪退。问题代号0x0和0x1389
  • ¥30 java spring boot2.5.3版本websocket连不上
  • ¥15 angular js调外部链接查看pdf