Add Makefile
This commit is contained in:
parent
168d0c689f
commit
a71f1f1d50
13
Makefile
Normal file
13
Makefile
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user