TensorRT报错:pycuda._driver.LogicError: explicit_context_dependent failed
报错信息:pycuda._driver.LogicError: explicit_context_dependent failed: invalid device context - no currently active context?解决方法:初始化pycuda,在代码加入这一行。
·
报错信息:pycuda._driver.LogicError: explicit_context_dependent failed: invalid device context - no currently active context?
解决方法:初始化pycuda,在代码加入这一行。
import pycuda.autoinit
更多推荐
所有评论(0)