Repository navigation
Summary
A patch release with one bug fix and one documentation addition.
Breaking changes
None.
Bug fixes
Perspectiveno longer raisesIndexErroron stacks of masks or grayscale images larger than 256×256 pixels. (#725, fixes #724)
Documentation
- The NumPy and Tensor routing design doc now says that flips and crops return views of the input. A flip view has negative strides, so
torch.from_numpy(result)raisesValueError; a crop view shares memory with the input. Callnp.ascontiguousarray(result)before such code.ToTensorV2andToTensor3Dalready return contiguous Tensors. (#730, closes #729)
Commits
| PR | Title |
|---|---|
| #725 | fix(geometric): warp large single-channel stacks with a channel axis in Perspective |
| #730 | docs(design): say what view outputs mean for torch and in-place OpenCV |
| #731 | chore(release): prepare 2.7.1 |