在运行unflownet时报错
return cupy.cuda.compile_with_cache(strKernel).get_function(strFunction)
AttributeError: ‘NoneType’ object has no attribute ‘get_function’
解决方案AttributeError: ‘NoneType’ object has no attribute 'get_function’解决方案
cupy v10之后不再使用compile_with_cache,
cupy.RawKernel替换cupy.cuda.compile_with_cache
改为:
return cupy.RawKernel(strKernel,strFunction)



