WongKinYiu / yolov7

Implementation of paper - YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
GNU General Public License v3.0
13.21k stars 4.17k forks source link

Dataset cache incompatible with YOLOv5 cache #56

Closed jocarias closed 2 years ago

jocarias commented 2 years ago

As usual, when starting a new training, YOLOv7 will try to spawn train.cache/valid.cache. This is the same name as YOLOv5 cache which, if already exists, will crash the training.

For present and future compatibility, could it be something with some sort of identifier? Example: "train.yolov7", "train.cachev7", etc. Just a reminder that, for YOLOR, it's "train.cache3".

WongKinYiu commented 2 years ago

You could add suffix in this line

jocarias commented 2 years ago

Thank you. That will do.