Alturos.Yolo icon indicating copy to clipboard operation
Alturos.Yolo copied to clipboard

Alturos.Yolo.YoloInitializeException: 'Microsoft Visual C++ 2017-2019 Redistributable (x64)'

Open asverlov opened this issue 4 years ago • 15 comments

Win 10, Fresh install of VS 2019 Community Edition, Alturos 3.06 Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.26.28720 (Verion 14.26.28720.3)

var configurationDetector = new YoloConfigurationDetector(); var config = configurationDetector.Detect(dir); new YoloWrapper(config) throws the exception:

image

Any idea what am I doing wrong?

asverlov avatar Jun 08 '20 00:06 asverlov

i could run this in GPU by using microsoft Visual C++ 2015-2019 redustributable X64 14.22.27821

vcredist_x64.zip

for GPU you need to copy cudnn64_7.dll to the {apppath}\bin\x64\Debug\x64

p0w3r2100 avatar Jun 08 '20 06:06 p0w3r2100

i could run this in GPU by using microsoft Visual C++ 2015-2019 redustributable X64 14.22.27821

vcredist_x64.zip

for GPU you need to copy cudnn64_7.dll to the {apppath}\bin\x64\Debug\x64

Thanks a lot! Run this was so important for my final project. It works perfectly with your help.

MutluAYDIN23 avatar Jun 10 '20 08:06 MutluAYDIN23

I am facing the same problem, I have installed vcredist_x64, but still the same.. I did not find cudnn64_7.dll .. where can I download it?

dev-ptdi avatar Jun 15 '20 03:06 dev-ptdi

I could get the exception go away by taking the sources, building them myself and referencing Alturos project from my own. Getting to run in GPU mode is another story.

asverlov avatar Jun 15 '20 15:06 asverlov

dev-ptdi and asverlov you need to have video card and nvidia driver installer plus you need to install cuda and cudnn from nvidia

p0w3r2100 avatar Jun 16 '20 01:06 p0w3r2100

dev-ptdi and asverlov you need to have video card and nvidia driver installer plus you need to install cuda and cudnn from nvidia

I actually had them installed before for training the models, but it doesn't explain "2017-2019 Redistributable (x64)" exception when Alturos is taken from NuGet.

asverlov avatar Jun 16 '20 03:06 asverlov

I have the same error. I have an nvidia card.

dgiunchi avatar Jun 17 '20 19:06 dgiunchi

If you are using the latest codebase you need to pass GpuConfig in.

            var gpuConfig = new GpuConfig();  
            yoloWrapper = new YoloWrapper(_config_, gpuConfig);

Without it the system always defaults to CPU.

With these codes on yolo 3.0.5 and CUDA 10.2. I can run on gpu.

MutluAYDIN23 avatar Jun 27 '20 16:06 MutluAYDIN23

Hello, the Alturos.Yolo 2.6.x was run well before yesterday in my PC. However, I installed cuda 11.0, cudnn 7.6.4 and MS C++2015-2019 Redistributable(x64) yesterday and then the Alturos.Yolo project can't run. The exception error is --"Alturos.Yolo.YoloInitializeException: 'Microsoft Visual C++ 2017-2019 Redistributable (x64)'".

Can anybody help me to fix it? Thanks!

PHHUANG1970 avatar Jul 05 '20 05:07 PHHUANG1970

Hello, the Alturos.Yolo 2.6.x was run well before yesterday in my PC. However, I installed cuda 11.0, cudnn 7.6.4 and MS C++2015-2019 Redistributable(x64) yesterday and then the Alturos.Yolo project can't run. The exception error is --"Alturos.Yolo.YoloInitializeException: 'Microsoft Visual C++ 2017-2019 Redistributable (x64)'".

Can anybody help me to fix it? Thanks!

Try to use CUDA 10.2 with new yolo versions (I used 3.0.5) and you can read "readme" file for learning corresponding CUDA version of other yolo versions. If it will not run, try microsoft Visual C++ 2015-2019 redustributable X64 14.22.27821 at the above comment

MutluAYDIN23 avatar Jul 05 '20 15:07 MutluAYDIN23

@MutluAYDIN23 I have fixed my problem using the old version of vcredist_x64.zip. Thank you for your help.

PHHUANG1970 avatar Jul 19 '20 02:07 PHHUANG1970

The fix is to use the old version of the vc redistributable version 14.22.27821 thanks.. @MutluAYDIN23

nelsonsvo avatar Jul 22 '20 20:07 nelsonsvo

Большое спасибо!!! Очень помогли

Carasan1254 avatar May 04 '21 18:05 Carasan1254

Большое спасибо!!! Очень помогли

Как ты решил проблему? За ранее спасибо?

Hrenyus avatar Nov 02 '21 17:11 Hrenyus

Большое спасибо !!! Очень помогли

Как ты решил проблему? За ранее спасибо?

Вот версия которую надо установить Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.22.27821

Carasan1254 avatar Nov 02 '21 17:11 Carasan1254