|
Download README.md from EnYa32/Date-Fruit-Classification-CNN: direct link, hf CLI and curl.
- Browser
- Download file 1.51 kB
-
https://huggingface.co/spaces/EnYa32/Date-Fruit-Classification-CNN/resolve/main/README.md
- Command line
-
hf download hf://spaces/EnYa32/Date-Fruit-Classification-CNN/README.md
-
curl -L -o README.md https://huggingface.co/spaces/EnYa32/Date-Fruit-Classification-CNN/resolve/main/README.md
1.51 kB
A newer version of the Streamlit SDK is available: 1.67.0
metadata
title: DateFruitClassifier_CNN
emoji: π΄
colorFrom: gray
colorTo: green
sdk: streamlit
app_file: src/streamlit_app.py
pinned: false
short_description: Date fruit image classifier app using CNN.
license: mit
CNN Date Fruit Classification Project
π Project Overview
This project aims to classify different types of date fruits using a custom Convolutional Neural Network (CNN) trained from scratch.
π§ Model Summary
- Input Size: 224x224x3 (RGB)
- Architecture: 5 Conv2D layers + MaxPooling
- Dense: 256 neurons + Dropout (0.5)
- Optimizer: Adam (lr=0.001)
- Loss: Sparse Categorical Crossentropy
- Callbacks: EarlyStopping, ReduceLROnPlateau, ModelCheckpoint
π Final Results
| Metric | Score |
|---|---|
| Validation Accuracy | 85.71% |
| Validation Loss | 0.4426 |
π Conclusion
The model was successfully trained without transfer learning and shows stable performance. Future improvements can be made using augmentation or transfer learning.
π¦ Files Included
best_date_cnn.kerasβ Best trained model fileCNN_Report_updated.pdfβ Technical reporthistory.pklβ Training history
π How to Run
model = tf.keras.models.load_model("best_date_cnn.keras")
π Requirements
tensorflow
matplotlib
seaborn
numpy
scikit-learn
π Download Technical Report (PDF)
CNN_Date_Report.pdf
π€ Author
Enes Yamac
Deep Learning Project
π
November 2025