Coder Social home page Coder Social logo

monajalal / kenyan-food Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 6.0 5.23 MB

code and link to the dataset for Kenyan Food detection paper accepted as a paper in MADiMA 2019 Workshop as part of ACM MM 2019 conference.

Python 76.53% PHP 22.03% Shell 1.45%
analyze-food-types kenya paper food-classification object-recognition object-detection classification categorization deep-learning deep-neural-networks

kenyan-food's Introduction

Scraping Social Media Photos Posted in Kenya and Elsewhere to Detect and Analyze Food Types

M. Jalal*, K. Wang*, J. Sankara, Y. Zheng, E. O. Nsoesie, and M. Betke. Scraping Social Media Photos Posted in Kenya and Elsewhere to Detect and Analyze Food Types. published in MADiMA 2019, the 5th International Workshop on Multimedia Assisted Dietary Management. In conjunction with the 27th ACM International Conference on Multimedia (ACMMMM 2019) Nice, France, October 21, 2019. 10 pages.

Kenyan food/non food dataset

Kenya104K Image Samples

Kenyan104K dataset: https://drive.google.com/open?id=1_ZA3bXnRnGIq-8yBtCXNB8MlBXjWMGKA

Kenyan Food Type Dataset (KenyanFood13)

KenyanFood13 Image Samples

KenyanFood13 dataset: https://drive.google.com/open?id=1CHnTy4XqGowT2chCBBxZ8rdYxMC1bwTc

Link to ArXiv paper: https://arxiv.org/abs/1909.00134

Funding

This research was partially funded by the following awards:

  • NSF Award #1838193 BIGDATA: IA: Multiplatform, Multilingual, and Multimodal Tools for Analyzing Public Communication in over 100 Languages

  • Hariri Institute for Computing and Computational Science & Engineering at Boston University

Credits/Authors

Kaihong Wang*, Mona Jalal*, Jefferson Sankara, Yi Zheng, Elaine Nsoesie, Margrit Betke

BibTeX for Citing

@inproceedings{JalalWaJeZhNsBe19,
  title={Scraping social media photos posted in Kenya and elsewhere to detect and analyze food types},
  author={Jalal, Mona and Wang, Kaihong and Jefferson, Sankara and Zheng, Yi and Nsoesie, Elaine O and Betke, Margrit},
  booktitle={Proceedings of the 5th International Workshop on Multimedia Assisted Dietary Management},
  pages={50--59},
  year={2019}
}

Acknowledgement

We are grateful to Shuai Wei for extensive support on getting to run our code work on SCC as well as helping us with various troubleshooting for both our PHP-based scraping and DNN codes. Shuai can be reached at [email protected]

TODO

  • Adding the 5 fold cross-validation folders for Kenyan food/non-food classifier as well as Kenyan Food Type Recognizer in Google Drive

  • Adding documentation how to run the scraping script with a minimal example for both hashtag-based as well as location-based scenarios.

  • Adding documentation for running the Kenyan Food/Non-Food Classifier as well as Kenyan Food Type Recognizer both in Shared Cluster Center (SCC@BU) as well as on a Deep Learning station.

  • Adding a requirement.txt that shows all the necessary packages for this project.

kenyan-food's People

Contributors

monajalal avatar tushar7sharma avatar wangkaihong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kenyan-food's Issues

ModuleNotFoundError: No module named 'pytorch_pretrained_bert'

[jalal@scc-k10 annan]$ module load python3/3.6.5
[jalal@scc-k10 annan]$ module load gcc/5.5.0
[jalal@scc-k10 annan]$ module load cuda/10.1
[jalal@scc-k10 annan]$ module load pytorch/1.3

and error is:

[jalal@scc-k10 annan]$ python ftr_exp.py 
Traceback (most recent call last):
  File "ftr_exp.py", line 21, in <module>
    from pytorch_pretrained_bert import BertTokenizer, BertModel, BertForMaskedLM
ModuleNotFoundError: No module named 'pytorch_pretrained_bert'

[jalal@scc-k10 annan]$ pwd
/projectnb/ivcgroup/annan


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.