错误: 无法 开源 文件 "/usr/local/cuda/include/math_functions.h"
作者: in3omnia创建于 2019年3月26日更新于 2021年2月20日
跟踪信息 (最近一次调用为最后一条): File "demo.py", line 47, in no_post=args.no_post File "/home/lyh/FastPhotoStyle/process_stylization.py", line 135, in stylization out_img = smooth_filter(out_img, cont_pilimg, f_radius=15, f_edge=1e-1) File "/home/lyh/FastPhotoStyle/smooth_filter.py", line 402, in smooth_filter best_ = smooth_local_affine(output_, input_, 1e-7, 3, H, W, f_radius, f_edge) File "/home/lyh/FastPhotoStyle/smooth_filter.py", line 336, in smooth_local_affine ptx = program.compile(['-I/usr/local/cuda/include']) pynvrtc.compiler.ProgramException: best_local_affine_kernel.cu(2): catastrophic error: cannot 开源 file "/usr/local/cuda/include/math_functions.h" 在"best_local_affine_kernel.cu"的编译中检测到 1 个致命错误。 编译终止
内容来源: NVIDIA/FastPhotoStyle