legolas123 / cv-tricks.com

Repository for all the tutorials and codes shared at cv-tricks.com
MIT License
468 stars 579 forks source link

Maybe a better place for saving? #4

Closed Hatsunespica closed 7 years ago

Hatsunespica commented 7 years ago

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