Open melecmat opened 2 years ago
it is working as intended. It will keep the vertices, and sets everything else to None in the constructor. Every time if you access any of the transformation, rotation, translation, etc. if it is None it will fit a transformation to the vertices via [.fit()]( def translation(self):).
Ah, OK, now I see it. Thanks.
Out of curiosity, can I ask what is the main reason for this design choice?
Hi, I noticed that in the class method from_transformation in box.py, the transformation itself is thrown away, only the points are kept, upon calling cls(vertices=vertices). That cannot be right? For example, in IOU computation, the boxes are transformed by these transforms, so when they are not set it leads to different results.
Best, Matous