Skip to content

Commit

Permalink
added new target in benchmark_ncs and alexnet for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Herrold (Intel Corportation) <andrew.herrold@intel.com>
  • Loading branch information
DrewBearly committed Dec 10, 2019
1 parent a60def9 commit 3f3153b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
6 changes: 5 additions & 1 deletion apps/benchmark_ncs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,12 @@ data:


.PHONY: deps
deps: default_model
deps: install_deps default_model
@echo $(YELLOW)'\n'${APP_NAME}": Making dependencies..."$(NOCOLOR)

.PHONY: install_deps
install_deps:
../../install_deps.sh

.PHONY: run_py
run_py: data deps
Expand Down Expand Up @@ -86,6 +89,7 @@ help:
@echo $(YELLOW)" make deps "$(NOCOLOR)"- makes/prepares dependencies";
@echo $(YELLOW)" make install-reqs "$(NOCOLOR)"- Installs requirements needed to run this sample on your system.";
@echo $(YELLOW)" make uninstall-reqs "$(NOCOLOR)"- Uninstalls requirements that were installed by the sample program.";
@echo $(YELLOW)" make install_deps "$(NOCOLOR)"- Checks for and installs software dependencies.";
@echo $(YELLOW)" make default_model "$(NOCOLOR)"- compiles a default model to use when running";
@echo $(YELLOW)" make clean "$(NOCOLOR)"- removes all created content";
@echo ""
Expand Down
4 changes: 3 additions & 1 deletion install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,6 @@ else
echo -e "Please install necessary packages from pip. \nYou can find a list of the necessary packages in the Model Optimizer directory."
exit 1
fi
fi
fi

echo -e "\e[32mncappzoo is ready.\e[39m"
6 changes: 5 additions & 1 deletion networks/alexnet/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@ all: deps data compile_model compile_cpp


.PHONY: deps
deps: download_model_files
deps: install_deps download_model_files
@echo $(YELLOW)'\n'${NETWORK_NAME}": Making dependencies..."$(NOCOLOR)

.PHONY: install_deps
install_deps:
../.././install_deps.sh

.PHONY: data
data:
Expand Down Expand Up @@ -136,6 +139,7 @@ help:
@echo $(YELLOW)" make deps "$(NOCOLOR)"- Makes dependencies for project, downloads and prepares model etc.";
@echo $(YELLOW)" make install-reqs "$(NOCOLOR)"- Installs requirements needed to run this sample on your system.";
@echo $(YELLOW)" make uninstall-reqs "$(NOCOLOR)"- Uninstalls requirements that were installed by the sample program.";
@echo $(YELLOW)" make install_deps "$(NOCOLOR)"- Checks for and installs software dependencies.";
@echo $(YELLOW)" make clean "$(NOCOLOR)"- Removes all temporary files that are created by the Makefile.\n";
@echo " ----- "$(YELLOW)"Model information"$(NOCOLOR)" -----"
@echo $(YELLOW)" Description: "$(NOCOLOR)
Expand Down

0 comments on commit 3f3153b

Please sign in to comment.