Skip to content
Snippets Groups Projects
Commit c11e20c7 authored by spmohanty's avatar spmohanty
Browse files

Update readme, build and debug scripts

parent b10898d7
No related branches found
No related tags found
No related merge requests found
......@@ -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).
......
#!/bin/bash
export IMAGE_NAME="aicrowd-food-recognition-challenge-submission"
docker build -t $IMAGE_NAME
\ No newline at end of file
#!/bin/bash
export TEST_IMAGES_PATH="./data/test_images"
export IMAGE_NAME="aicrowd-food-recognition-challenge-submission"
nvidia-docker run -it \
--net=host \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment