bennetthardwick / darknet.js

A NodeJS wrapper of pjreddie's darknet / yolo.
65 stars 27 forks source link

cant assign gpu and cudnn #17

Closed sumanthreddy-a closed 5 years ago

sumanthreddy-a commented 5 years ago

I cant enable gpu and cudnn.when I tried to export cudnn and gpu it show me 'fatal: destination path 'darknet' already exists and is not an empty directory.' this error

bennetthardwick commented 5 years ago

Hi @sumanth512, I can't seem to reproduce this issue. Can you list the steps you took to cause this issue? The darknet install process is a bit finicky, running the script below might fix your issue:

rm -rf node_modules/darknet
export DARKNET_BUILD_WITH_GPU=1
export DARKNET_BUILD_WITH_CUDNN=1
npm install darknet