10
$\begingroup$

Bug introduced in 10.3 or earlier and persisting through 11.3


obj = ResourceObject["CIFAR-10"];
trainingData = ResourceData[obj, "TrainingData"];
imgTest = trainingData[[29562]][[1]]
ImageKeypoints[ImageResize[imgTest, 256], "Descriptor"][[112]]

Since this causes a bug of my post codes[ClusteringCompoment of codebook]...I wonder is this a bug of ImageKeypoint or it's a feature?

Background: the bag of words example in the HelpPage of ImageKeypoint.

enter image description here

enter image description here

$\endgroup$
  • 2
    $\begingroup$ Standard bugs header? Also here. $\endgroup$ – Michael E2 Oct 28 '18 at 12:46
  • $\begingroup$ I don't see the bug in 10.0.2, but in that version the output is quite different. I don't have 10.1 and 10.2. $\endgroup$ – Szabolcs Oct 30 '18 at 16:58
  • $\begingroup$ @Szabolcs I've edited to Mma 11.3 $\endgroup$ – HyperGroups Oct 31 '18 at 3:42
  • $\begingroup$ I have actually tested 10.3 and several newer versions, up to 11.3 and it was present in all of them. $\endgroup$ – Szabolcs Oct 31 '18 at 6:56
9
$\begingroup$

I believe this is a bug. NaN` is not a value that can be safely computed with. It really should not arise when using normal documented functions. Please report this to support.

$\endgroup$

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.