電腦環境
目前的狀況是依照YOLO.NET的CUDA版本需求安裝後,仍然出現cuDNN not found的例外狀況,發生在初始化YoloWrapper的時候,底下附上我目前的程式碼。
private string fileName = "";
private VideoCapture video;
private YoloConfigurationDetector configurationDetector = new YoloConfigurationDetector();
private YoloConfiguration configuration;
private YoloWrapper wrapper;
private Graphics videoGraphics;
private Pen pen = new Pen(Brushes.DarkRed, 5);
private Font font = new Font(FontFamily.GenericSerif, 12f);
private GpuConfig config = new GpuConfig();
public Form1()
{
InitializeComponent();
configuration = configurationDetector.Detect();
config.GpuIndex = 0;
wrapper = new YoloWrapper(configuration,config);
}