简体   繁体   English

Azure 机器学习工作室执行 python 脚本,Theano 无法执行优化的 C 实现(对于 CPU 和 GPU)

[英]Azure Machine Learning Studio execute python script, Theano unable to execute optimized C-implementations (for both CPU and GPU)

I am execute a python script in Azure machine learning studio.我正在 Azure 机器学习工作室中执行一个 python 脚本。 I am including other python scripts and python library, Theano.我包括其他 python 脚本和 python 库,Theano。 I can see the Theano get loaded and I got the proper result after script executed.我可以看到 Theano 被加载,脚本执行后我得到了正确的结果。 But I saw the error message:但是我看到了错误信息:

WARNING (theano.configdefaults): g++ not detected !警告(theano.configdefaults):未检测到 g++! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Theano 将无法执行优化的 C 实现(对于 CPU 和 GPU),并将默认为 Python 实现。 Performance will be severely degraded.性能会严重下降。 To remove this warning, set Theano flags cxx to an empty string.要删除此警告,请将 Theano 标志 cxx 设置为空字符串。

Did anyone know how to solve this problem?有谁知道如何解决这个问题? Thanks!谢谢!

I don't think you can fix that - the Python script environment in Azure ML Studio is rather locked down, you can't really configure it (except for choosing from a small selection of Anaconda/Python versions).我认为您无法解决这个问题——Azure ML Studio 中的 Python 脚本环境相当封闭,您无法真正配置它(除了从一小部分 Anaconda/Python 版本中进行选择)。

You might be better off using the new Azure ML service, which allows you considerably more configuration options (including using GPUs and the like).使用新的 Azure ML 服务可能会更好,它为您提供更多配置选项(包括使用 GPU 等)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM