Get value counts from a ImageDataBunch

Please can you say why FloatItem does not have a numpy method

thanks @jimypbr!!

just wanted to add a little update in case it saves anyone else two days… make sure to sort_index() otherwise your value counts might be out of order with your labels

vcs = pd.value_counts(data.y.items).sort_index()