|
--- |
|
title: Cat vs Dog Classifier |
|
emoji: π±πΆ |
|
colorFrom: blue |
|
colorTo: purple |
|
sdk: gradio |
|
sdk_version: 5.34.2 |
|
app_file: app.py |
|
pinned: false |
|
license: mit |
|
--- |
|
|
|
# Cat vs Dog Image Classifier |
|
|
|
A deep learning model that classifies images of cats and dogs with TensorFlow/Keras. |
|
|
|
 <!-- Replace with actual demo GIF --> |
|
|
|
## π Try it out! |
|
|
|
[](https://huggingface.co/spaces/Ahmedhassan54/Image-Classification) |
|
|
|
## π οΈ Technical Details |
|
|
|
### Model Architecture |
|
```python |
|
Sequential([ |
|
Conv2D(32, (3,3), activation='relu', input_shape=(150, 150, 3)), |
|
MaxPooling2D((2,2)), |
|
Conv2D(64, (3,3), activation='relu'), |
|
MaxPooling2D((2,2)), |
|
Conv2D(128, (3,3), activation='relu'), |
|
MaxPooling2D((2,2)), |
|
Flatten(), |
|
Dense(512, activation='relu'), |
|
Dropout(0.5), |
|
Dense(1, activation='sigmoid') |
|
]) |