qdtrack
qdtrack copied to clipboard
from ..evaluation import xyxy2xywh
Hi there.
The aforementioned import statement fails in qdtrack/qdtrack/core/to_bdd100k/transforms.py
I have instead implemented the following function:
def xyxy2xywh(self, bbox): _bbox = bbox.tolist() return [ _bbox[0], _bbox[1], _bbox[2] - _bbox[0], _bbox[3] - _bbox[1], ]
Is this reasonable or are there customized lines of code that you intended to have?