# Wha't the meaning of NaN in the descriptor of ImageKeypoints

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.

• Standard bugs header? Also here. – Michael E2 Oct 28 '18 at 12:46
• 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. – Szabolcs Oct 30 '18 at 16:58
• @Szabolcs I've edited to Mma 11.3 – HyperGroups Oct 31 '18 at 3:42
• I have actually tested 10.3 and several newer versions, up to 11.3 and it was present in all of them. – Szabolcs Oct 31 '18 at 6:56

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.