Hacked version of pytorch yolov4: https://github.com/WongKinYiu/PyTorch_YOLOv4
The main purpose of this repo is to parse cfg files and return a nn.Module to be used as feature extractor.
python3 setup.py installfrom darknetor.models.models import Darknet
backbone = Darknet('path/to/model.cfg')