'One Hot Encode Labels for Object Detection?

Currently, the labels for my object detection model are like: [xmin, ymin, xmax, ymax, class].

Would one hot encoding the classes be beneficial?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source