From c11e20c74f6d0a5fc50bf5c8a42087258d3f0115 Mon Sep 17 00:00:00 2001
From: "S.P. Mohanty" <spmohanty91@gmail.com>
Date: Thu, 10 Oct 2019 19:38:29 +0200
Subject: [PATCH] Update readme, build and debug scripts

---
 README.md | 17 +++++++++++++++++
 build.sh  |  1 -
 debug.sh  |  2 --
 3 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 05909ff..3c9f227 100644
--- a/README.md
+++ b/README.md
@@ -106,6 +106,23 @@ You can specify the software runtime of your code by modifying the included [Doc
 #### Code Entrypoint
 The evaluator will use `/home/aicrowd/run.sh` as the entrypoint. Please remember to have a `run.sh` at the root which can instantiate any necessary environment variables and execute your code. This repository includes a sample `run.sh` file.
 
+### Local Debug
+
+```
+export TEST_IMAGES_PATH="./data/test_images"
+export IMAGE_NAME="aicrowd-food-recognition-challenge-submission"
+
+./build.sh
+./debug.sh
+
+######################################
+## NOTE : 
+## 
+## * If you do not wish to your a GPU when testing locally, please feel free to replace nvidia-docker with docker
+##
+## * If you want to test on images located at an alternate location, set the `TEST_IMAGES_PATH` environment variable accordingly before running `build.sh` and `debug.sh`.
+```
+
 ### Submitting 
 To make a submission, you will have to create a private repository on [https://gitlab.aicrowd.com](https://gitlab.aicrowd.com).
 
diff --git a/build.sh b/build.sh
index 509203f..25dea2a 100755
--- a/build.sh
+++ b/build.sh
@@ -1,5 +1,4 @@
 #!/bin/bash
 
-export IMAGE_NAME="aicrowd-food-recognition-challenge-submission"
 
 docker build -t $IMAGE_NAME
\ No newline at end of file
diff --git a/debug.sh b/debug.sh
index a5c17a9..28902d1 100644
--- a/debug.sh
+++ b/debug.sh
@@ -1,8 +1,6 @@
 #!/bin/bash
 
 
-export TEST_IMAGES_PATH="./data/test_images"
-export IMAGE_NAME="aicrowd-food-recognition-challenge-submission"
 
 nvidia-docker run -it \
   --net=host \
-- 
GitLab