You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have done object detection using yolo v5 on my custom dataset and I saved the results in txt files. The txt file has label, bbox coordinator and the score and I want to know how to build a graph using those results.
Thanks.
The text was updated successfully, but these errors were encountered:
You can represent each bounding box as a node, and assign features to it, e.g.,
The (normalized) width and height of the bounding box
The scores
Some image features of each bounding box as given by your pre-trained model,
and save them to a Data object data = Data(x=x, pos=pos) where x denotes a matrix of shape [num_nodes, num_features], and pos denotes the center of each bounding box as a [num_nodes, 2] matrix.
You can then create a graph from it using k-nearest neighbors, e.g.:
I have done object detection using yolo v5 on my custom dataset and I saved the results in txt files. The txt file has label, bbox coordinator and the score and I want to know how to build a graph using those results.
Thanks.
The text was updated successfully, but these errors were encountered: