Yeah, you were right. You cannot simply import this methods without copying some files first.
From the tutorial:
In references/detection/ , we have a number of helper functions to simplify training and evaluating detection models. Here, we will use references/detection/engine.py , references/detection/utils.py and references/detection/transforms.py . Just copy them to your folder and use them here.
Thanks for the reply, I got it to work, just need to add in the directory coco_utils.py and coco_eval.py from the same directory, and to install pycocotools as well.
Where can I find these files: references/detection/engine.py , references/detection/utils.py and references/detection/transforms.py? Thank you very much!