{"id":15906063,"url":"https://github.com/lucacappelletti94/keras_ding","last_synced_at":"2025-06-22T03:33:28.953Z","repository":{"id":62573930,"uuid":"214785254","full_name":"LucaCappelletti94/keras_ding","owner":"LucaCappelletti94","description":"Keras callback for playing a sound when training is complete.","archived":false,"fork":false,"pushed_at":"2022-08-25T15:15:11.000Z","size":10709,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T13:13:57.935Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LucaCappelletti94.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-13T08:23:44.000Z","updated_at":"2022-08-25T15:09:45.000Z","dependencies_parsed_at":"2022-11-03T18:40:13.848Z","dependency_job_id":null,"html_url":"https://github.com/LucaCappelletti94/keras_ding","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fkeras_ding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fkeras_ding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fkeras_ding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fkeras_ding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucaCappelletti94","download_url":"https://codeload.github.com/LucaCappelletti94/keras_ding/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246905831,"owners_count":20852818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T13:20:49.311Z","updated_at":"2025-04-02T22:43:02.712Z","avatar_url":"https://github.com/LucaCappelletti94.png","language":"Python","readme":"Keras Ding\n=========================================================================================\n|pip| |downloads|\n\nKeras callback for playing a sound when training is complete. The callbacks additionally works also within jupyter notebook,\nso that if you are working on a notebook on a remote machine it plays the audio within your browser and not in the server.\n\nHow do I install this package?\n----------------------------------------------\nYou will need a couple packages that you might not already have installed:\n\n.. code:: shell\n\n    sudo apt install python3-dev\n    sudo apt install libasound2-dev\n\nFinally as usual, just download it using pip:\n\n.. code:: shell\n\n    pip install keras_ding\n\n\nUsage examples\n-----------------------------------------------\nSo suppose you have your Keras model `my_keras_model` and you want to hear a sound when it is done training.\nHere you go:\n\n.. code:: python\n\n    from keras_ding import KerasDing\n\n    my_keras_model.fit(\n        x, y,\n        callbacks=[\n            KerasDing()\n        ]\n    )\n\nWhat abount a custom sound? Just pass it as an argument.\n\n.. code:: python\n\n    from keras_ding import KerasDing\n\n    my_keras_model.fit(\n        x, y,\n        callbacks=[\n            KerasDing(path=\"my_custom_sound.mp3\")\n        ]\n    )\n\n\n.. |pip| image:: https://badge.fury.io/py/keras-ding.svg\n    :target: https://badge.fury.io/py/keras-ding\n    :alt: Pypi project\n\n.. |downloads| image:: https://pepy.tech/badge/keras-ding\n    :target: https://pepy.tech/badge/keras-ding\n    :alt: Pypi total project downloads \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacappelletti94%2Fkeras_ding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucacappelletti94%2Fkeras_ding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacappelletti94%2Fkeras_ding/lists"}