This capstone project presents an automated deep learning pipeline that simplifies the process of model selection, hyperparameter tuning, and evaluation using Optuna and Streamlit. The system supports multiple CNN architectures (ResNet50, VGG16, MobileNetV2, DenseNet121) and offers an intuitive UI for both structured and unstructured datasets.
Training deep learning models often requires expertise and time, especially when it comes to CNN architecture selection and hyperparameter tuning. This project aims to democratize deep learning through:
- Automated model generation and training
- Real-time evaluation metrics
- No-code user interface
Built using:
- 🧪 Optuna for hyperparameter optimization
- 🖼️ Streamlit for UI
- 📦 Support for both CSV and image ZIP datasets
- Automate CNN model selection and tuning
- Provide real-time training feedback and metrics
- Support various dataset types (structured/unstructured)
- Streamlit Web App with upload + visualization
- Optuna Tuner with CNN comparison
- Evaluation Dashboard showing Accuracy, Precision, Recall, F1 Score, and Confusion Matrix
User Upload → Preprocessing → Model Generator → Optuna Hyperparameter Tuner → CNN Training → Evaluation → UI Output
- Data Ingestion: Supports
.csvand.zipinputs - Preprocessing: Image resizing, label encoding, one-hot encoding
- Model Generator: Selects CNN model (ResNet50, VGG16, MobileNetV2, DenseNet121)
- Hyperparameter Tuner: Optimizes via Optuna
- Evaluation: Computes accuracy, precision, recall, F1 score
- UI: Interactive web app built with Streamlit
- Optimizers:
adam,sgd,rmsprop - Activations:
relu,tanh - Other Parameters: Batch size, Epochs (user-controlled via slider)
- Search Method: Tree-structured Parzen Estimator (TPE)
Each trial returns:
- Best CNN model
- Best hyperparameters
- Evaluation scores
- Accuracy = Correct predictions / Total samples
- Precision = TP / (TP + FP)
- Recall = TP / (TP + FN)
- F1 Score = 2 × (Precision × Recall) / (Precision + Recall)
- Confusion Matrix: Shown using Streamlit table
- Upload structured
.csvor image.zip - Choose epochs and batch size via sliders
- Click "Train Model" to initiate training
- View best model, hyperparameters, and evaluation results
- Optuna efficiently selected the best model and configuration.
- Models trained with early stopping to avoid overfitting.
- Real-time performance metrics enabled quick experimentation.
- Brings automation, accessibility, and reproducibility to deep learning.
- Reduces technical barrier—ideal for education, prototyping, and research.
- Enables both technical and non-technical users to experiment with CNNs.
- Python 🐍
- TensorFlow / Keras
- Streamlit 🌐
- Optuna 🔍
- Pandas, NumPy, Scikit-learn
- OpenCV
- Ganesh Sesha Sai Akhil Koutarapu
- Venkatesh Komalli
- Venkata Arun Kumar Perla
- Guide: Dr. Ashu Abdul
This project is licensed under the MIT License – see the LICENSE file for details.
Special thanks to SRM University – AP and our guide Dr. Ashu Abdul for their continuous support and mentorship throughout the project.
📚 Publication Highlight:
We are proud to have published a book chapter titled
“Harnessing AI and Predictive Analytics for Competitive Decision-Making”
with IGI Global, further reinforcing the practical relevance of our project work.

