Metadata-Version: 2.4
Name: numpydl
Version: 0.1.2
Summary: Deep learning models and experiments (ResNet50, CNN-LSTM, cGAN)
Author: Mohit Reddy
License-Expression: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: matplotlib
Requires-Dist: tensorflow
Requires-Dist: scikit-learn
Dynamic: license-file

# numpydl

A lightweight Python package containing deep learning experiments and implementations using TensorFlow, Keras, ResNet50, CNN-LSTM, and Generative Adversarial Networks (GANs).

## Features

- **Task 1 (`numpydl-task1` / `1.py`)**: Pretrained ResNet50 classification, top-5 confidence decoding, and intermediate feature map visualization.
- **Task 2 (`numpydl-task2` / `2.py`)**: Multi-layer feature map extraction and first-layer convolutional filter visualization.
- **Task 3 (`numpydl-task3` / `3.py`)**: Transfer learning feature extraction with ResNet50 and multi-class classification on Tiny ImageNet with confusion matrix evaluation.
- **Task 4 (`numpydl-task4` / `4.py`)**: End-to-end CNN-LSTM image captioning architecture combining image feature embeddings with recurrent text generation.
- **Task 5 (`numpydl-task5` / `5.py`)**: Conditional Generative Adversarial Network (cGAN) for label-conditioned image synthesis.

## Installation

```bash
pip install numpydl
```

## Usage

### Command Line Interface (CLI)

Run any task directly from your terminal:

```bash
# Run via main CLI runner
numpydl 1
numpydl 2
numpydl 3
numpydl 4
numpydl 5

# Or via dedicated command shortcuts
numpydl-task1
numpydl-task2
numpydl-task3
numpydl-task4
numpydl-task5
```

### Python API

You can also import and customize functions in your own Python code:

```python
from numpydl import task1, task2, task3, task4, task5

# Run Task 1 on a custom image
task1.run(image_path="path/to/image.jpg", actual_class="golden retriever")

# Run Task 3 with custom parameters
task3.run(dataset_path="path/to/dataset/train", epochs=15)
```

## License

MIT License
