【问题标题】:Is there any implementation of mtcnn face detection in tensorflow 2.0?tensorflow 2.0中是否有mtcnn人脸检测的实现?
【发布时间】:2020-01-05 12:35:34
【问题描述】:

最近我搬到了 tensorflow==2.0.0-rc0,现在用于人脸检测的 mtcnn 在我的电脑上不起作用。我能找到 tensorflow==2.0.0-rc0 版本的 mtcnn 吗? mtcnn 的纯 Keras 实现也适用于这种情况。

我已经在https://github.com/nyoki-mtl/keras-facenet 尝试了 facenet 的 keras 实现。它在 kears 中很好地实现了 facenet,但缺少人脸检测部分(keras 中的 mtcnn)。

【问题讨论】:

  • 以下存储库提供与 tensorflow 2.0 的兼容性,但核心实现仍在 tensorflow 1 中。github.com/ipazc/mtcnn
  • 你好@Fisa,你有什么解决办法吗? TF 2.0 我也面临同样的问题。
  • @SaurabhChauhan 以下链接中的代码与 TF 2.0 兼容。但是,可以对其进行改进以使其完全特定于 TF 2.0。 pypi.org/project/mtcnn/#descriptiongithub.com/ipazc/mtcnn
  • @Fisa: 使用 TF 2.0 运行时抛出“AttributeError: module 'tensorflow' has no attribute 'get_default_graph'”错误。

标签: keras face-detection tensorflow2.0 tf.keras


【解决方案1】:

我也需要 TF 2,所以就推了this library。您应该能够克隆 repo 和 python setup.py install 来安装它。它是针对 tensorflow 2.5.0 开发的。

附:对于那些希望将来将 TF 1.x 库移植到 TF 2 的人,this comment 可能就是您所需要的!

【讨论】:

猜你喜欢
  • 2020-11-29
  • 1970-01-01
  • 2018-06-09
  • 2019-11-18
  • 2019-07-18
  • 2011-11-26
  • 2022-06-24
  • 2021-07-24
相关资源
最近更新 更多