If you already cloned and forgot to use --recurse-submodules you can run git submodule update --init Move and replace datasets.py to recursively downloaded yolov5>utils>datasets.py Move and replace ...