How heuzef/champi_cnn works
Main Components
• Data Ingestion and Preprocessing:
– The “dataset” folder holds the canonical data sets, and src/data contains scripts for data generation and preprocessing (both Linux and Windows variants). Some notebooks also demonstrate data augmentation and pre-processing (e.g., cropping, resizing, normalization with VGG16 parameters).
• Feature Extraction and Augmentation:
• Model Training and Evaluation:
– Model training implementations are found in both src/models (with subfolders for resnet and vgg16) and in notebooks dedicated to transfer learning. Training metrics are logged and stored, and there is evidence of experiments with Grad-CAM and different model versions.
• Experiment Tracking and System Utilities:
– The src/sys folder holds shell and service scripts (e.g., for setting up an MLflow server) that indicate integration with MLflow for experiment tracking.
• Exploratory Notebooks and Reporting:
– Extensive notebooks in the “notebooks” folder are used for exploratory analysis, prototyping, and model validation. The “reports” folder contains final reports, including a Streamlit dashboard (with clear page separation) and additional visual reports.
• External Interfaces:
– There is also a “localhost” component (found under notebooks/mushroom_observer and its subdirectories) that might serve as a small-scale web interface for dataset browsing or demonstration purposes.
Architectural Patterns and Relevant Technologies
• Layer Separation:
– Clearly demarcate the data, model, and reporting layers. Notebooks support the experimental process, while the src folder holds production code.
• Experiment Tracking:
– Emphasize MLflow’s role in logging training runs, as evident from various MLflow-related scripts.
• Use of Notebooks for Prototyping:
– Show that Jupyter notebooks are a major medium for exploratory analysis and may eventually lead into production through scripts in src.
• Technologies:
– Include Python (and Jupyter), deep learning frameworks (likely PyTorch or TensorFlow, given the file names and known architectures), shell scripts for MLflow deployment, and Streamlit for dashboards.