10

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

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263
HyperGroups
  • 8,619
  • 1
  • 26
  • 63

1 Answers1

9

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.

Szabolcs
  • 234,956
  • 30
  • 623
  • 1,263