Build container related errors

Build container related errors  

  By: liuweifeng0327 on June 30, 2023, 1:48 p.m.

We successfully tested the process.py file and modified the Dockerfile and requirements.txt files locally, and then executed the build.sh script successfully, but an error occurred when executing the test.sh script:

WARNING: buildx: failed to read current commit information with git rev-parse --is-inside-work-tree iqaregression-output docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]]. cat: /output/image-quality-scores.json: No such file or directory Expecting value: line 1 column 1 (char 0) Traceback (most recent call last): File "", line 1, in FileNotFoundError: [Errno 2] No such file or directory: '/output/image-quality-scores.json' Expected output was not found... iqaregression-output

First time taking part in the challenge and help would be much appreciated!

Re: Build container related errors  

  By: ewonkyong on June 30, 2023, 6:38 p.m.

For the first error message, you could try installing the nvidia-container-toolkit.

distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \ && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \ && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit

sudo systemctl restart docker

Regarding the second error message, it can occur in the following code snippet, which compares the output JSON file with the expected output JSON file: docker run --rm \ -v iqaregression-output:/output/ \ -v $SCRIPTPATH/test/:/input/images/synthetic-ct/ \ python:3.7-slim python -c "import json, sys; f1 = json.load(open('/output/image-quality-scores.json')); f2 = json.load(open('/input/images/synthetic-ct/expected_output.json')); sys.exit(f1 != f2);"

However, since this code is not technically essential in the testing process, you can simply comment it out.

Additionally, if you would like to know the error log of your submission, please send me your submission and evaluation ID via email.