8000 GitHub - MezoPeeta/NourishAI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MezoPeeta/NourishAI

Repository files navigation

NourishAI

A food vision project made by PyTorch and with implementation of MLOps.

The project structure is inspired by cookiecutter-data-science.

Right now, MLOPs is at level 0. The model is trained on MLOPSLevel0

It's also hosted on gradio space

You can install the model using downloading the image using

docker pull pascaldev/nourish:latest

and run it by

docker run -d --name test -p 80:80 pascaldev/nourish

then access to http://127.0.0.1/docs and click on predict and try it on

OR

You can simply send a POST request to http://127.0.0.1/predict with the body

{
    "file": "LOCAL_IMAGE_FILE_PATH"
}

Expected result:

{
    "label": "PREDICTED_LABEL"
}

Packages Used

  • PyTorch (for model training) & Torchvision (for data loading)
  • DVC (Data Version Control) for data versioning
  • WandB (Weights and Biases) for experiment tracking
  • Tox (for testing on multiple python versions)
  • Docker (for containerization)
  • Pillow (for image processing)

Upcoming

  • Add CI/CD
  • Add Streamlit
  • Add Pytest

The dataset used is Food-101 dataset. It is a dataset of 101 food categories, with 101,000 images. For more information, visit here.

The model can differentiate between food and non-food images.

Right now the model is trained on 30% of the dataset, and the accuracy is 56% on the test set.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0