neural-style / Makefile
dogeplusplus's picture
Refactor application to just use the model locally and not need gRPC.
15c5016
raw
history blame contribute delete
448 Bytes
CURRENT_DIR = $(shell pwd)
model-server: style
docker run --gpus all -p 8500:8500 --mount type=bind,source=${CURRENT_DIR}/style,target=/models/style -e MODEL_NAME=style -t tensorflow/serving:latest-gpu
model-server-cpu: style
docker run -p 8500:8500 --mount type=bind,source=${CURRENT_DIR}/style,target=/models/style -e MODEL_NAME=style -t tensorflow/serving:2.4.0
app:
exec streamlit run app.py
webcam:
exec streamlit run webcam_stream.py