Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyen Xuan Bac <ngxbac.dt@gmail.com>
  • Loading branch information
ngxbac committed Oct 6, 2019
1 parent 3ca7333 commit 04b413d
Show file tree
Hide file tree
Showing 44 changed files with 682 additions and 2,963 deletions.
20 changes: 20 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
APP_NAME=ngxbac/pytorch_cv:kaggle_cell
CONTAINER_NAME=kaggle_cell
DATA_DIR=/raid/data/kaggle/recursion-cell
OUT_DIR=/raid/bac/kaggle/logs/recursion-cell

run: ## Run container
nvidia-docker run \
-e DISPLAY=unix${DISPLAY} -v /tmp/.X11-unix:/tmp/.X11-unix --privileged \
--ipc=host \
-itd \
--name=${CONTAINER_NAME} \
-v $(DATA_DIR):/data \
-v $(OUT_DIR):/logs \
-v $(shell pwd):/kaggle-cell $(APP_NAME) bash

exec: ## Run a bash in a running container
nvidia-docker exec -it ${CONTAINER_NAME} bash

stop: ## Stop and remove a running container
docker stop ${CONTAINER_NAME}; docker rm ${CONTAINER_NAME}
63 changes: 0 additions & 63 deletions PERFORMANCE.md

This file was deleted.

Loading

0 comments on commit 04b413d

Please sign in to comment.