arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.02141cs.CV
收藏

RecipeSnap --一个轻量级的图像到配方模型

RecipeSnap -- a lightweight image-to-recipe model

Georgia Institute of Technology(佐治亚理工学院)

Jianfa Chen, Yue Yin, Yifan Xu

摘要:

在本文中,我们要解决的问题,自动识别拍摄的烹饪菜肴,并产生相应的食物食谱。目前的图像到配方模型计算昂贵,需要强大的GPU来进行模型训练和实现。高计算成本阻止了这些现有模型部署在便携式设备上,如智能手机。为了解决这个问题,我们引入了一个轻量级的图像到配方预测模型RecipeSnap,它将内存成本和计算成本降低了90%以上,同时仍然实现了2.0 MedR,这与最先进的模型一致。使用预先训练的配方编码器来计算配方嵌入。Recipe 1 M数据集的配方和相应的配方嵌入被收集为配方库,用于图像编码器训练和图像查询。我们使用MobileNet-V2作为图像编码器的骨干,这使得我们的模型适用于便携式设备。这个模型可以进一步开发成一个应用程序的智能手机与一些努力。本文提出了这种轻量级模型与其他重型模型之间的性能比较。代码、数据和模型可以在github上公开访问。

英文摘要:

In this paper we want to address the problem of automation for recognition of photographed cooking dishes and generating the corresponding food recipes. Current image-to-recipe models are computation expensive and require powerful GPUs for model training and implementation. High computational cost prevents those existing models from being deployed on portable devices, like smart phones. To solve this issue we introduce a lightweight image-to-recipe prediction model, RecipeSnap, that reduces memory cost and computational cost by more than 90% while still achieving 2.0 MedR, which is in line with the state-of-the-art model. A pre-trained recipe encoder was used to compute recipe embeddings. Recipes from Recipe1M dataset and corresponding recipe embeddings are collected as a recipe library, which are used for image encoder training and image query later. We use MobileNet-V2 as image encoder backbone, which makes our model suitable to portable devices. This model can be further developed into an application for smart phones with a few effort. A comparison of the performance between this lightweight model to other heavy models are presented in this paper. Code, data and models are publicly accessible on github.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑