From a71f1f1d50af2a7377bed0a427a2847e98d79737 Mon Sep 17 00:00:00 2001 From: Michael Soukup Date: Fri, 16 Jul 2021 11:56:24 +0200 Subject: [PATCH] Add Makefile --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a311f6f --- /dev/null +++ b/Makefile @@ -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