How matin-rasoulzad/food-image-classification-using-2dconv-tinyvgg works
Project type and purpose
• This is a machine-learning image-classification project built around a Convolutional Neural Network (CNN).
• Its goal is to train a “Tiny VGG” model to distinguish between two food categories (pizza vs. steak), using a local image dataset and Jupyter notebooks.
File structure
• Top level:
• Notebook.ipynb – interactive code for data loading, preprocessing, model definition, training, evaluation, and visualization.
• README.md – project overview, architecture details, usage instructions.
• pizza_steak/ – core data split into train/ and test/, each with pizza/ and steak/ subfolders.
• final_model/ – serialized Keras model (final_model.keras) for inference or deployment.
• sessions/ – environment snapshot (session_env.pkl).
• No separate “src” or “lib” directories; most logic lives in the notebook.
• Dependencies are implicit (TensorFlow, numpy, matplotlib, seaborn, pandas).
README for additional insights
• The Architecture section describes Tiny VGG: two Conv layers (32 and 64 filters), each followed by Max-Pooling (2×2), flattening, dense layers, with Adam optimizer (lr=0.001).
• Screenshots illustrate training accuracy/loss curves and sample predictions.
• The notebook is the authoritative source of code.