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

Fix incorrect image tensor shape #129

Merged
merged 1 commit into from
Oct 16, 2023
Merged

Fix incorrect image tensor shape #129

merged 1 commit into from
Oct 16, 2023

Conversation

akash-akya
Copy link
Owner

Fixes #126

Hi @kipcole9, can you check if this breaks something in image?

@kipcole9
Copy link
Contributor

@akash-akya I will check in the next 24 hours. I suspect it will require an update on my side. And this may explain some unexpected behaviour I had to work around. Will revert ASAP.

kipcole9 added a commit to elixir-image/image that referenced this pull request Oct 16, 2023
Due to [the fix](akash-akya/vix#129)
for [this issue](akash-akya/vix#126)
in [vix](https://github.com/akash-akya/vix), a fix is applied
in `Image.nx/2` to ensure correct operation.

There should be no change to user code other than the requirement
for the versions of `image` and `vix` to correctly match.  This
release of `image` requires `vix` version `0.23` to ensure compatibility.
@kipcole9
Copy link
Contributor

kipcole9 commented Oct 16, 2023

@akash-akya, I've updated image to reflect this change. As expected, I needed to modify Image.to_nx/2 and Image.from_nx/1.

I will publish an image update when you publish the update to vix. Do you plan on setting the vix version to 0.23.0?

@akash-akya
Copy link
Owner Author

Thanks for the update! I'll merge and push new version today

@akash-akya akash-akya merged commit 0c77e18 into master Oct 16, 2023
24 of 26 checks passed
@akash-akya akash-akya deleted the dev branch October 16, 2023 16:36
@akash-akya
Copy link
Owner Author

@kipcole9 v0.23.1 is released. Please use v0.23.1 (not v0.23.0) version, which contains a minor compilation fix. 🎉

@kipcole9
Copy link
Contributor

I've published image version 0.38.3. Thanks for the early warning Akash, much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong shape returned from write_to_tensor/1
2 participants