I run the code of image-classifier, it's a little slow in my laptop.
My computer:
Intel Core i7 6700-HQ
NVIDIA GeForce GTX960M
run in GPU
Then I try move the save code into the if rather than out of if
It become much faster.....
And I think it is useless to do so much save and waste time in IO
Maybe this would be helpful if you want to accelerate your code
I run the code of image-classifier, it's a little slow in my laptop. My computer: Intel Core i7 6700-HQ NVIDIA GeForce GTX960M run in GPU Then I try move the save code into the if rather than out of if It become much faster..... And I think it is useless to do so much save and waste time in IO Maybe this would be helpful if you want to accelerate your code