In case of other people who might find this question.
Adding _C.OUTPUT_DIR
will change the directory where the model files are written.
Please read the following doc for more details:
https://detectron2.readthedocs.io/en/latest/modules/config.html