Select list item: Attempt to get item number 4 of a list of length 3

From the message, you got back only 3 items in that list.

To avoid the error, test length of list before trying to select item numbers from that list.

1 Like

Welcome Hector.

The ImageClassifier only returns the probability percentages for the three highest regardless of the number of 'labels'--classifications. It appears you tried to get four probabilities. :cry:

You might find this discussion helpful: Personal image classifier display - #2 by SteveJG