Skip to content

Vishal35679/Plant-Disease-Detectifier

Repository files navigation

Plant-Disease-Detectifier

PlantCPU.ipynb

CUDA was throwing error so i started working with cpu and it takes very long time to execute Screenshot 2023-05-09 003127 Screenshot 2023-05-09 150810

I knew that cpu is not gonna complete the task so i have to use GPU

Plant.ipynb Then i installed CUDA but still got the error that torch is not compiled with CUDA then i thought of using the CUDA and CUdnn for the pytorch installed and completed installation process Finally it was working Screenshot 2023-05-13 093407 the first step was executed with so less time compared to cpu process i got hopes Screenshot 2023-05-13 105822 and then this happened Screenshot 2023-05-13 110548 i was getting same error after running multiple time then i started looking how to tackle with this problem i came across the idea to reduce the batch size i reduced the size to 28 from 32 then 24, 20, 16 and finally 8 finally it started running even though it used almost 3.9gb out of 4gb still it executed after long time Screenshot 2023-05-13 171106 after waiting for some more it finally completed Screenshot 2023-05-13 185131 finally it was executed with accuracy of 97.52 Screenshot 2023-05-13 185204 but we need accuracy of more than 99.2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published