Add Makefile

This commit is contained in:
Michael Soukup 2021-07-16 11:56:24 +02:00
parent 168d0c689f
commit a71f1f1d50

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
WEIGHTS = yolov3-tiny
#WEIGHTS = yolov3
photocat :
echo "Download YOLOv3 network $(WEIGHTS)"
wget "https://pjreddie.com/media/files/$(WEIGHTS).weights" --header "Referer: pjreddie.com" -P yolov3
wget "https://raw.githubusercontent.com/eriklindernoren/PyTorch-YOLOv3/master/config/$(WEIGHTS).cfg" -P yolov3
echo "Install with pip etc TODO"
clean :
rm -f yolov3/$(WEIGHTS).{weights,cfg}
.PHONY : photocat clean