yinguobing / head-pose-estimation

Realtime human head pose estimation with ONNXRuntime and OpenCV.
MIT License
1.24k stars 288 forks source link

'assets/pose_model' Is a directory #41

Open EndlessNull opened 3 years ago

EndlessNull commented 3 years ago

執行 python3 estimate_head_pose.py --video '/path/to/file'

最後一條訊息: OSError: Unable to open file (file read failed: time = Tue Feb 9 18:05:26 2021 , filename = 'assets/pose_model', file descriptor = 4, errno = 21, error message = 'Is a directory', buf = 0x7ffd75ab19a8, total read size = 8, bytes this sub-read = 8, bytes actually read = 18446744073709551615, offset = 0)

看起來是指源碼中的資料夾?

yinguobing commented 3 years ago

是的。这个错误信息还是第一次见,可能是环境不一样?

EndlessNull commented 3 years ago

系統是 Debian GNU/Linux 10 (buster)

yinguobing commented 3 years ago

最新版代码只在Ubuntu 20.04上测试过。Debian我还没有用过呢!

是否能在Ubuntu上尝试运行?

DevXiaoYan commented 3 years ago

I also encountered this problem. How did you solve it?

DevXiaoYan commented 3 years ago

我在macbook上运行,出现路径错误

wgplx commented 3 years ago

是的。这个错误信息还是第一次见,可能是环境?

请问您用的tensorflow是哪个版本?

yinguobing commented 3 years ago

是的。这个错误信息还是第一次见,可能是环境?

请问您用的tensorflow是哪个版本?

2.4.1

wgplx commented 3 years ago

是的。这个错误信息还是第一次见,可能是环境?

请问您用的tensorflow是哪个版本?

2.4.1

谢谢,换成2.4.1就没问题了。