提交 5c8e2cbf authored 作者: Frederic Bastien's avatar Frederic Bastien 提交者: sentient07

In the new back-end if config.dnn.enabled is False, don't try to compile dnn version.

上级 c2a6a650
......@@ -97,6 +97,7 @@ def dnn_present():
if config.dnn.enabled == "False":
dnn_present.msg = "Disabled by dnn.enabled flag"
dnn_present.avail = False
return False
if pygpu is None:
dnn_present.msg = "PyGPU not available"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论