We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not all 2D tensors are images. Data like an stft looks like an image but doesn't play nicely with the image viewer.
The tensor viewer has a number of nice features like:
We can trick the viewer into creating a tensor by adding a trivial outer dimension, but it would be nice not to need to do this:
Example:
f, t, Zxx = scipy.signal.stft(x, fs, nperseg=1000) Zxx_image = np.abs(Zxx).astype(np.float32) Zxx_tensor = np.expand_dims(np.abs(Zxx), axis=0) rr.init("stft_test", spawn=True) rr.log_tensor("stft_image", Zxx_image) rr.log_tensor("stft_tensor", Zxx_tensor)
The text was updated successfully, but these errors were encountered:
Related to
Sorry, something went wrong.
rr.log("stft_tensor", rr.Tensor(Zxx_image))
now does exactly what this describes
No branches or pull requests
Not all 2D tensors are images. Data like an stft looks like an image but doesn't play nicely with the image viewer.
The tensor viewer has a number of nice features like:
We can trick the viewer into creating a tensor by adding a trivial outer dimension, but it would be nice not to need to do this:
Example:
The text was updated successfully, but these errors were encountered: