You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My use case for Alturos.Yolo is in a vvvv plugin, which has a plugin directory structure which means that the main executable (vvvv.exe) doesn't end up next to Alturos.Yolo.dll, which means that
if(File.Exists(@"x64\cudnn64_7.dll"))
will always return false even if the file is present. Everything goes on to work perfectly anyway, so it's not a big deal, but a more robust approach might be to look for cudnn with a path relative to the Alturos DLL, rather than the "main" executable:
My use case for Alturos.Yolo is in a vvvv plugin, which has a plugin directory structure which means that the main executable (vvvv.exe) doesn't end up next to
Alturos.Yolo.dll
, which means thatwill always return false even if the file is present. Everything goes on to work perfectly anyway, so it's not a big deal, but a more robust approach might be to look for cudnn with a path relative to the Alturos DLL, rather than the "main" executable:
(This requires a reference to
System.Reflection
to work)The text was updated successfully, but these errors were encountered: