✅ README.md
DLCopilot 🚀
DLCopilot is your assistant for training and analyzing deep learning models in PyTorch. It provides a simple and extensible interface for visualizing model structure, input-output dimensions, training progress, and performance metrics — making your development process faster and more intuitive.
📦 Features
- 🔍 Inspect model layer-wise shapes and input-output dimensions
- 📊 Visualize class distribution in datasets
- 📈 Track and plot training and validation loss
- 🧪 Easy integration with your PyTorch training loop
- ✅ Lightweight and modular design
🛠️ Installation
Clone the repository and install the dependencies:
git clone https://github.com/KIREN2612/dlcopilot.git
cd dlcopilot
pip install -r requirements.txt
You can also install as a package (for development):
pip install -e .
🧪 Example Usage
from dlcopilot import DLCopilot
from your_model import MyModel # Replace with your model
from torch.utils.data import DataLoader
# Initialize model, optimizer, loss, data loaders
model = MyModel()
optimizer = torch.optim.Adam(model.parameters())
criterion = torch.nn.CrossEntropyLoss()
train_loader = DataLoader(...)
val_loader = DataLoader(...)
# Create DLCopilot instance
copilot = DLCopilot(model, optimizer, criterion, train_loader, val_loader)
# Inspect architecture
copilot.inspect_input_output_shapes()
copilot.inspect_layer_shapes()
# Analyze data
copilot.class_distribution()
# Train and visualize
copilot.train_and_analyze(epochs=5)
See docs/usage.md for full examples.
🧪 Testing
Run tests with:
pytest tests/
Make sure to set the PYTHONPATH to the root of the project if needed:
export PYTHONPATH=$(pwd) # On Linux/macOS
$env:PYTHONPATH = (Get-Location) # On Windows PowerShell
📄 Documentation
🧑💻 Author
Kiren 📧 kiren2612@gmail.com 🔗 github.com/KIREN2612
📜 License
This project is licensed under the terms of the MIT License. See LICENSE for more details.
Metadata
Release files for dlcopilot 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dlcopilot-0.1.0.tar.gz | 6.9 kB | Without provenance | Details for dlcopilot-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dlcopilot-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for dlcopilot-0.1.0-py3-none-any.whl |
Total release size: 13.8 kB
Release files / dlcopilot-0.1.0.tar.gz
| Download URL | dlcopilot-0.1.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9bb9eddf683d11232aada6111c3f2d84f355c46fc5bbba3ed193c1949ca4dd6
|
|
BLAKE2b-256 checksum How to use checksums |
d5b6089f5a2c194911798a1515016e6c6c4ef29d02ed6dd126691e185808a38b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / dlcopilot-0.1.0-py3-none-any.whl
| Download URL | dlcopilot-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7c44792c3407c79d08f5c59b9ea4a77fb6806fb2e34b0bd30c6b7991c3b638a
|
|
BLAKE2b-256 checksum How to use checksums |
3bcaa11bd848146429e20b740a34fa1ece8160770248124ce9dcb2bb4ed0194e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for dlcopilot 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.