【问题标题】:tf-faster-rcnn on WindowsWindows 上的 tf-faster-rcnn
【发布时间】:2018-06-14 19:40:48
【问题描述】:

有人在 Windows 上实现了 Faster-RCNN for TensorFlow 版本吗? 我发现了一些相关的仓库如下:

1.Faster-RCNN for TensorFlow on Linux https://github.com/endernewton/tf-faster-rcnn

2.Faster-RCNN for Caffe on Linux https://github.com/rbgirshick/py-faster-rcnn

3.Faster-RCNN for Caffe on Windows https://github.com/MrGF/py-faster-rcnn-windows

我成功编译了'cpu_nms',但是在尝试运行demo.py时遇到了错误:

tensorflow.python.framework.error_impl.InvalidArgumentError:ValueError:Buffer dtype mismatch, expected 'int_t' but got 'long long'

PS.没有编译 gpu_nms 因为我不知道如何处理 'kernel.cu' 和 'gpu_nms.pyx'。我尝试像 https://github.com/MrGF/py-faster-rcnn-windows 对 'setup_cuda.py' 所做的那样但失败了,发生了与https://github.com/MrGF/py-faster-rcnn-windows/issues/17完全相同的错误:

LINK : fatal error LNK1181: cannot open input file 'ID=2.obj'

有人在 Windows 上实现了 Faster-RCNN for TensorFlow 版本吗?或者谁能给我一些建议?

非常感谢。

【问题讨论】:

  • 检查this answer,它链接到官方的TF对象检测API,其中包括Faster-RCNN并且与windows兼容,这能回答你的问题吗?

标签: python windows tensorflow object-detection


【解决方案1】:
LINK : fatal error LNK1181: cannot open input file 'ID=2.obj'

此错误来自链接命令。在命令字符串中,有一段 'ID=2.obj'。您可以通过删除字符串段来修复它。

【讨论】:

    猜你喜欢
    • 2020-12-24
    • 1970-01-01
    • 2018-11-24
    • 2020-06-17
    • 2016-09-26
    • 1970-01-01
    • 2023-04-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多