100 food milestone (78 foods -> 100 foods) #32
Replies: 2 comments
-
See the results: Note: This is with Nutrify only predicting one class per image (some images may have more than one item or even many of the same items in the list below).
And here's the F1-scores visually: |
Beta Was this translation helpful? Give feedback.
-
Just went through a bunch of data filtering to:
I noticed a few issues as well of some images containing two or more of the same class, for example, images of carrots also containing cucumbers. In that case, which do you give the label to? (since as of now, Nutrify is only one class per image) Future models will be able to detect more than one food class per image. Anyway, here are the new results (ordered by the difference in F1), the "difference" columns are the difference between the above results and the new model added in 2249533:
And their mean differences:
Notice how the values aren't very large at all. This is most likely because many of the duplicates were removed and they would've been artificially increasing the previous results. So my thinking is saying that the new model should be more robust in the field even though the results aren't that different, they are more aligned with what they should truly be now (since the data has had a good clean). And the F1 scores have been reshuffled a little to before: Future updates will automate this process of training and retraining and evaluating models. Next I'm going to look into data versioning/tracking to keep track of what data was used in what model. And since the model is performing quite well now, I'll see how to display information on the webpage for whatever food is detected. It may be good to get the top 3 classes showing up too. |
Beta Was this translation helpful? Give feedback.
-
I've just created a new model based on EfficientNetB1-Lite (the TensorFlow JS version) that now powers Nutrify and published it to the Nutrify homepage.
In short, Nutrify can now identify 100 total foods (previous was 78).
The performance for each class varies quite a bit. But this will be upgraded in future models.
Next
Now we're up to 100 foods, the next step will be making the current model better (better data) and adding metadata to the website rather than just identifying the class of a food.
In essence, the next few updates will focus on making the current system better rather than adding more foods.
So the current list of foods will likely remain fixed for the next month or so.
App updates (to come)
Modelling updates (to come)
Updates
The previous Nutrify model could identify the following 78 foods.
Note: If there's more than one food in an image, Nutrify still only identifies one class, this will change with future models.
Note: Squid and Pastry classes were removed from the above list (the Squid data was poor and Pastry as a class is too vague for now), Nutrify focuses on whole foods.
And now with the addition of 24 more foods:
This brings the total to 100 identifiable foods (1000 is the goal for the end of the 2022).
More class-based results to come soon.
This discussion was created from the release 100 food milestone (78 foods -> 100 foods).
Beta Was this translation helpful? Give feedback.
All reactions