Clone mmdetection and then copy the files to your submission repo. And then you can write scripts for executing inference
python3 mmdetection/tools/test.py <CONFIG_FILE_PATH> <model.pth> --format-only --options "jsonfile_prefix=./results"
executing this gives you your desired results in json format.