gpt4 book ai didi

Python DLL 加载失败 : The specified module could not be found on microsoft fastRCNN script

转载 作者:行者123 更新时间:2023-12-01 03:22:40 26 4
gpt4 key购买 nike

当我尝试运行 python 脚本时,出现以下错误:

Traceback (most recent call last):
File "A1_GenerateInputROIs.py", line 5, in <module>
import PARAMETERS
File "C:\local\CNTK-2-0-beta9-0-Windows-64bit-CPU-Only\cntk\Examples\Image\Detection\FastRCNN\PARAMETERS.py", line 2, in <module>
from cntk_helpers import *
File "C:\local\CNTK-2-0-beta9-0-Windows-64bit-CPU-Only\cntk\Examples\Image\Detection\FastRCNN\cntk_helpers.py", line 7, in <module>
from fastRCNN.nms import nms as nmsPython
File "C:\local\CNTK-2-0-beta9-0-Windows-64bit-CPU-Only\cntk\Examples\Image\Detection\FastRCNN\fastRCNN\__init__.py", line 7, in <module>
from .imdb import imdb
File "C:\local\CNTK-2-0-beta9-0-Windows-64bit-CPU-Only\cntk\Examples\Image\Detection\FastRCNN\fastRCNN\imdb.py", line 19, in <module>
from .utils3_win64.cython_bbox import bbox_overlaps
ImportError: DLL load failed: The specified module could not be found.

我正在关注 https://github.com/Microsoft/CNTK/wiki/Object-Detection-using-Fast-R-CNN 上的教程。当我尝试在 ubuntu 系统上运行脚本时,我也遇到了类似的错误。

您认为问题出在哪里?

我正在探索的一个假设如下:

因为教程上说:

This tutorial code assumes you are using 64bit version of Python 3.4, as the Fast R-CNN DLL files under utils_win64 are prebuilt for this version

由于我使用的是 python 3.5 而不是 python 3.4,我开始认为这可能是原因。我会随时向您通报我的发现。

谢谢

最佳答案

您可以在 3.5 python 发行版中创建 3.4 环境,如下所示 here 。如果您看到相同的行为,请报告。

关于Python DLL 加载失败 : The specified module could not be found on microsoft fastRCNN script,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41774223/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com