I have a Pytorch weights file (.PT) which I would like to convert to Darknet format (.weights and .cfg) files.
The .PT file was trained using this repository: GitHub - ultralytics/yolov5: YOLOv5 🚀 in PyTorch > ONNX > CoreML > TFLite
I found a repository of scripts, seemingly to accomplish a similar task, here:
Though, the documentation is not enough for me to understand how to convert my particular .PT file.
Has anyone done this particular conversion, and could help me to understand what is necessary to do it?