Skip to main content
# DeepModels
Implementations of various deep learning models using Keras.

## Requirements
An existing installation of either Tensorflow or Theano.

## Installation
```
pip install deep-models
```

## Usage

The models are implemented using Keras and instantiation returns a Keras Model object unless otherwise noted.

### Wide Residual Network
```python3
from deep_models import wide_residual_network as wrn

# Load your data
trainX = ...
trainY = ...
img_shape = (32, 32, 3)

# Create the model
# k is the width, 6 * n + 4 is the depth
model = wrn.build_model(img_shape, classes=10, n=4, k=10, dropout=0.3)

# Train the model
model.compile(loss="categorical_crossentropy", optimizer="adam", metrics=["acc"])
model.fit(
trainX, trainY,
batch_size=128,
epochs=100,
validation_split=0.2)
```

## Examples
Some working examples are available in the notebooks directory.

## License
See LICENSE file

Metadata

Release files for Deep-Models 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Deep-Models 0.1.5
File Size Uploaded Provenance Actions
Deep-Models-0.1.5.tar.gz 2.6 kB Without provenance Details for Deep-Models-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Deep-Models 0.1.5
File Interpreter ABI Platform Actions
Deep_Models-0.1.5-py3.6.egg Legacy Egg format - - Details for Deep_Models-0.1.5-py3.6.egg

Total release size: 7.5 kB

Release files / Deep-Models-0.1.5.tar.gz

Download URL Deep-Models-0.1.5.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cc2ecf467255994fd18815003bdd4e6082a00acc2d549f9866486b61fe3888ac
BLAKE2b-256 checksum
How to use checksums
89de75eca9c01fec53ab53aa0af946a303746d8fd3b6ebce77a55428f8814435
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / Deep_Models-0.1.5-py3.6.egg

Download URL Deep_Models-0.1.5-py3.6.egg
Size 4.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
d35e1d289fa1830f79bccf34ca95d4a164844fa29344d64a54549df3b5f72cd2
BLAKE2b-256 checksum
How to use checksums
1e27b6fe16680fb214a61b5d1ef499af4d92cb244d03aa34cb386be535d10227
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Deep-Models 0.1.5

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page