我正在学习使用 GPU 进行 onnxruntime 推理。我从https://github.com/microsoft/onnxruntime-inference-examples.git获取了代码。 我尝试了 main/c_cxx/fns_candy_style_transfer 案例。按照 https://github.com/microsoft/onnxruntime-inference-examples/tree/main/c_cxx中的说明进行操作。
调用“OrtStatus* onnx_status = g_ort->SessionOptionsAppendExecutionProvider_CUDA(session_options, &o);”时,出现如下错误。
先尝试启用CUDA D: _work \s\onnxruntim