Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boxes2D not taking torch.Tensor for array argument #3708

Closed
roym899 opened this issue Oct 5, 2023 · 0 comments
Closed

Boxes2D not taking torch.Tensor for array argument #3708

roym899 opened this issue Oct 5, 2023 · 0 comments
Assignees
Labels
🪳 bug Something isn't working
Milestone

Comments

@roym899
Copy link
Collaborator

roym899 commented Oct 5, 2023

To Reproduce

import torch
import rerun as rr
rr.init("test", spawn=True)
rr.log("voxes", rr.Boxes2D(array=torch.rand(10,4), array_format=rr.Box2DFormat.XYXY))

Backtrace

<stdin>:1: RerunWarning: Boxes2D: TypeError(any() received an invalid combination of arguments - got (out=NoneType, axis=NoneType, ), but expected one of:
 * ()
 * (int dim, bool keepdim)
      didn't match because some of the keywords were incorrect: out, axis
 * (name dim, bool keepdim)
      didn't match because some of the keywords were incorrect: out, axis
)

Rerun version

rerun_py 0.9.0 [rustc 1.72.1 (d5c2e9c34 2023-09-13), LLVM 16.0.5] x86_64-unknown-linux-gnu 4f56b02, built 2023-10-05T15:37:48Z
@roym899 roym899 added 🪳 bug Something isn't working 👀 needs triage This issue needs to be triaged by the Rerun team labels Oct 5, 2023
@jleibs jleibs removed the 👀 needs triage This issue needs to be triaged by the Rerun team label Oct 5, 2023
@jleibs jleibs added this to the 0.9.1 milestone Oct 5, 2023
abey79 added a commit that referenced this issue Oct 6, 2023
…gument (#3719)

### What

Fixes:
* #3708

Relates to (but doesn't implement):
* #3718 

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] ~~I've included a screenshot or gif (if applicable)~~
* [x] ~~I have tested [demo.rerun.io](https://demo.rerun.io/pr/3719) (if
applicable)~~

- [PR Build Summary](https://build.rerun.io/pr/3719)
- [Docs
preview](https://rerun.io/preview/1b9c5d8d1d5ce8b9c29176c3b8b51e6fde4faced/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/1b9c5d8d1d5ce8b9c29176c3b8b51e6fde4faced/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://ref.rerun.io/dev/bench/)
- [Wasm size tracking](https://ref.rerun.io/dev/sizes/)
@jleibs jleibs closed this as completed Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants