From 883e3a68673dd0410671413a74dc31469a0bc48b Mon Sep 17 00:00:00 2001 From: Heiko J Schick Date: Fri, 23 Oct 2020 16:07:36 +0200 Subject: [PATCH] Added other examples to Makefile --- Makefile | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 67b5345..8cac9ee 100644 --- a/Makefile +++ b/Makefile @@ -2,23 +2,28 @@ VENV_NAME?=env PYTHON=${VENV_NAME}/bin/python3 -LINT_FILES=linear_regression.py prepare_train_model.py test_model.py yolov3.py - -LINEAR_REGRESSION=linear_regression.py -OBJECT_DETECTION=prepare_train_model.py test_model.py +LINT_FILES=linear_regression.py \ + lenet5.py \ + vgg16-prepare_train_model.py \ + vgg16-test_model.py \ + yolov3.py .DEFAULT: help help: @echo "make linear_regression" - @echo " runs the simple linear regression example" + @echo " runs a linear regression example" + @echo "make lenet5" + @echo " runs a LeNet-5 character recognition example" @echo "make vgg16" - @echo " runs the object detection example" + @echo " runs a VGG16 object detection example" + @echo "make yolov3" + @echo " runs the YOLO v3 object detection example" @echo "make env" @echo " creates and prepares the environment" @echo "make data" @echo " downloads and unpacks the data" @echo "make lint" - @echo " runs pylint and mpy" + @echo " runs pylint" @echo "make clean" @echo " cleans the development environment" @@ -42,7 +47,10 @@ $(VENV_NAME)/bin/activate: touch $(VENV_NAME)/bin/activate linear_regression: env - ${PYTHON} $(LINEAR_REGRESSION) + ${PYTHON} linear_regression.py + +lenet5: env + ${PYTHON} lenet5.py vgg16_training: fine_tune.h5 fine_tune.h5: @@ -50,6 +58,9 @@ fine_tune.h5: vgg16: env data vgg16_training ${PYTHON} vgg16-test_model.py +yolov3: env data + ${PYTHON} yolov3.py + lint: env ${PYTHON} -m pylint --rcfile=pylintrc $(LINT_FILES)