A clean, modular implementation of the Yolov7 model family, which uses the official pretrained weights, with utilities for training the model on custom (non-COCO) tasks.
Hey Chris, excellent bit of work, both the blog post and this repo. I'm just borrowing your mixup and mosaic augmentation implementations for the timebeing but I'm a little confused by this line:
Hi, this is probably where the docstring could be improved! The plotting methods require the boxes and class labels as lists rather than tensors or arrays. If you call .tolist() on your array it should work
Hey Chris, excellent bit of work, both the blog post and this repo. I'm just borrowing your mixup and mosaic augmentation implementations for the timebeing but I'm a little confused by this line:
https://github.com/Chris-hughes10/Yolov7-training/blob/d605d864b5f728ec298572b78e72543434988081/yolov7/plotting.py#L105
For me it was causing this error:
e.g. Python has no idea what we're checking the truth of when we feed it the bbox list, which I would have thought is the default happy path?
For my use case I've just removed the condition.