Skip to content

Python package to integrate various pre-trained Machine Learning and Deep Learning to your project through ml-dl-models api.

License

Notifications You must be signed in to change notification settings

LaxmanMaharjan/ml-dl-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python package to integrate various pre-trained Machine Learning and Deep Learning to your project through ml-dl-models api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages