ML-DL-Models
ML-DL-Models is library to integrate various pre-trained Machine Learning and Deep Learning to your project through ml-dl-models api link.
Usage
In the following paragraphs, I am going to describe how you can get and use ml-dl-models for your projects.
Getting it
To download ml-dl-models, either fork this github repo or simply use Pypi via pip.
$ python -m pip install --upgrade pip
$ pip install ml-dl-models
Using it
ML-DL-Models was programmed with ease-of-use in mind. First, import models from it.
from ml_dl_models import MelodyGenerator
Now you are ready to create an Melody from a MelodyGenerator model.
data = {'keys':'c d e', 'default':True}
path = '/home/LaxmanMaharjan/melody.mp3' # default value is 'melody.mp3' in same directory.
mg = MelodyGenerator(data = data, path = path)
mg.generate_melody()
You can also get the cached notes(notes that are already fetched to model) from Melody Generator.
mg = MelodyGenerator()
print(mg.get_cached_notes)
You can instantiate MelodyGenerator class with default value of data and path.
mg = MelodyGenerator()
mg.generate_melody()
Note: If you use default value of data and path to instantiate MelodyGenerator class than data is chosen from one of the values from cached data.
Learn more about Data Representation link
Metadata
Release files for ml-dl-models 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ml_dl_models-1.0.3.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ml_dl_models-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / ml_dl_models-1.0.3.tar.gz
| Download URL | ml_dl_models-1.0.3.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4cfc2e2dcfb3f6ef5916940023f996c68eda9d1bad9afbd00612a47716464222
|
|
BLAKE2b-256 checksum How to use checksums |
2041fd06207c9b3be88970c261a42063c312a0bdf30f1f884301e3aa273c5ff9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.0.1 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3
|
Release files / ml_dl_models-1.0.3-py3-none-any.whl
| Download URL | ml_dl_models-1.0.3-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4dddfd55e914e2c922bc46acb62058dd804dce0316ce0699cbde0c406b38ee3
|
|
BLAKE2b-256 checksum How to use checksums |
742ebbd8c0c1c89574e8d5e9542d9f78f7f5eccca090cebcddee30c0814b46d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.0.1 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3
|