sthanhng / yoloface

Deep learning-based Face detection using the YOLOv3 algorithm (https://github.com/sthanhng/yoloface)
MIT License
454 stars 180 forks source link

Update get_models.sh to only delete zips on success #22

Open FarisHijazi opened 4 years ago

FarisHijazi commented 4 years ago

I had an issue where the zips would get deleted although the unzip command had failed, this caused me to download the weights multiple times. I edited the script so that it would only delete the files IFF the unzip is successful.

This should help reducing bandwidth too