question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

incorrect documentation for transform_boxes()

See original GitHub issue

📚 Documentation

According to the documentation the function transform_boxes() accepts non-batched homographies (3x3) and boxes (Nx4). However, the function crashes in those cases. B must be provided.

Copy of the current documentation: r"“” Function that applies a transformation matrix to a box or batch of boxes. Boxes must be a tensor of the shape (N, 4) or a batch of boxes (B, N, 4) and trans_mat must be a (3, 3) transformation matrix or a batch of transformation matrices (B, 3, 3)

Moreover looks like the method is changing one of the input parameters (boxes) when they are in mode == "xywh" I think that is dangerous.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
edgarribacommented, May 25, 2020

@wyli great. I believe this can be achieved already with existing kornia functions

0reactions
edgarribacommented, Oct 19, 2020

@lferraz is this still relevant ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Random Crop yields incorrect value for bounding box #903
I am making a custom augmentation to Zoom in on a given bounding box. CropSafe (but not all boxes). Is there syntax that...
Read more >
transform-box - CSS: Cascading Style Sheets - MDN Web Docs
The transform-box CSS property defines the layout box to which the transform, individual transform properties translate,scale, and rotate, ...
Read more >
Net Rewinder Documentation - Google Docs
Net Rewinder is a server side hitbox rewinder / lag compensator for use with any networking library. It focuses on doing only one...
Read more >
Nuke Developer Kit (NDK) 10.5v1: Nuke binary plugins: DD::Image ...
Defaults to false, meaning that all clients share a single transform box. Override if individual transform boxes are needed for each client ...
Read more >
Solved: How to get text transform box boundary? - 11142576
I think you might have been mistaken, for Point Text »bounds« seems to give the ... 2020, use it at your own risk;...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found