Open xxtkidxx opened 1 month ago
@stephanecharette Do you have any suggestions for me?
Lots of questions:
darknet --version
?@stephanecharette
I have a RTX4080 Super and I do not need to change anything in the "DARKNET_CUDA_ARCHITECTURES" to make it work. I think that is what is going wrong.
Is your CUDA/CUDNN up to date? I use CUDA 12.4 and CUDNN 8.9.7.
I have a RTX4080 Super and I do not need to change anything in the "DARKNET_CUDA_ARCHITECTURES" to make it work. I think that is what is going wrong.
Is your CUDA/CUDNN up to date? I use CUDA 12.4 and CUDNN 8.9.7.
I use CUDA 12.4 and CUDNN 9.0.0. I don't have RTX4080. Please send me your Darknet.exe files. I will be check in my side. @Denizzje
Sending my darknet files isn't useful, it needs to be built to your specification.
Ok I thought you maybe was using a too old CUDA for the RTX4000 series. Your CUDA should be good. To make extra sure, because it is the latest CUDA version, you also need to ensure you are on the latest nvidia-driver.
Run nvidia-smi in terminal.
If it does NOT show CUDA Version 12.4, you driver does not support CUDA 12.4 and you need to update you driver.
Regarding CUDNN, personally I use 8.9.7 because I cannot get 9.xx to work yet. I do not know for 100% sure, but maybe setting that DARKNET_CUDA_ARCHITECTURES forced through a build while there is something not properly installed. This in turn causes darknet unable to calculate properly, resulting in this 0 loss you are experencing. You could consider removing CUDNN 9, and build with CUDNN 8.9.7 which you can get from here: https://developer.nvidia.com/rdp/cudnn-archive .
This is how everything works for me without having to change anything when building following the cmake windows steps at https://github.com/hank-ai/darknet?tab=readme-ov-file#windows-cmake-method
I change make file to SET (DARKNET_CUDA_ARCHITECTURES "75;80;86;89") Darknet can run on RTX4060, but after about 300 iterations, the Loss is always 0, the system running on RTX3060 is still fine. How to fix it? Thanks you. @stephanecharette