π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
docs(changelog): say that the no-candidate backward of #6052 used to raise (#6067)
Dmytro Mishkin9f1ad4315f27
diff --git a/changelog.d/6052.fixed.md b/changelog.d/6052.fixed.mdindex 2924eb0b4..86b4dd551 100644--- a/changelog.d/6052.fixed.md+++ b/changelog.d/6052.fixed.md@@ -1 +1 @@-`ScaleSpaceDetector` (`forward` and `detect`) and the patch descriptors `SIFTDescriptor`, `HardNet`, `HardNet8`, `HyNet`, `TFeat` and `SOSNet` accept an empty batch and return empty outputs of the documented shapes: responses `(0, N)` and LAFs `(0, N, 2, 3)` from the detector, descriptors `(0, D)` from the descriptors. So do `LocalFeature`, `SIFTFeatureScaleSpace` and `get_laf_descriptors` on zero images. They raised an unrelated reshape `RuntimeError`; an invalid input still raises what the same invalid non-empty input raises. A `ScaleSpaceDetector` call on one image with no detected candidates returns responses linked to autograd; a backward through them raised.+`ScaleSpaceDetector` (`forward` and `detect`) and the patch descriptors `SIFTDescriptor`, `HardNet`, `HardNet8`, `HyNet`, `TFeat` and `SOSNet` accept an empty batch and return empty outputs of the documented shapes: responses `(0, N)` and LAFs `(0, N, 2, 3)` from the detector, descriptors `(0, D)` from the descriptors. So do `LocalFeature`, `SIFTFeatureScaleSpace` and `get_laf_descriptors` on zero images. They raised an unrelated reshape `RuntimeError`; an invalid input still raises what the same invalid non-empty input raises. A `ScaleSpaceDetector` call on one image with no detected candidates returns responses linked to autograd, so a backward through them gives the input a zero gradient; it used to raise.