Skip to content

Commit

Permalink
[#17] Move Docker image to Docker Hub
Browse files Browse the repository at this point in the history
  • Loading branch information
xserrat committed Dec 11, 2021
1 parent e1b72d3 commit d1aad7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ help: ## Display available targets
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf " \033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)

.PHONY:
run: build ## Build & Run the demucs spliting the tracks placed in the input folder
run: ## Run the demucs spliting the tracks placed in the input folder
docker run --rm -i \
--name=demucs \
-v $(current-dir)input:/data/input \
-v $(current-dir)output:/data/output \
-v $(current-dir)models:/data/models \
facebook/demucs:latest \
xserrat/facebook-demucs:latest \
"python3 -m demucs.separate --out /data/output \
/data/input/$(track)"
.PHONY:
build: ## Build docker image with all needed to run the facebook demucs ML code
docker build -t facebook/demucs:latest .
docker build --no-cache -t xserrat/facebook-demucs:latest .

0 comments on commit d1aad7d

Please sign in to comment.