{"id":15707216,"url":"https://github.com/fwcd/spleeter-pytorch","last_synced_at":"2025-05-12T19:40:52.953Z","repository":{"id":164008212,"uuid":"639388076","full_name":"fwcd/spleeter-pytorch","owner":"fwcd","description":"Spleeter implementation using PyTorch with support for conversion to Core ML","archived":false,"fork":false,"pushed_at":"2023-06-07T06:23:48.000Z","size":95643,"stargazers_count":19,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-01T02:48:15.748Z","etag":null,"topics":["audio","coreml","pytorch","spleeter","stems"],"latest_commit_sha":null,"homepage":"","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/fwcd.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-11T11:23:41.000Z","updated_at":"2025-02-03T16:12:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"8edf45b5-a5b6-4953-b6d0-d7ea94ac751e","html_url":"https://github.com/fwcd/spleeter-pytorch","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/fwcd%2Fspleeter-pytorch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fspleeter-pytorch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fspleeter-pytorch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fwcd%2Fspleeter-pytorch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fwcd","download_url":"https://codeload.github.com/fwcd/spleeter-pytorch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253809193,"owners_count":21967675,"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":["audio","coreml","pytorch","spleeter","stems"],"created_at":"2024-10-03T20:38:15.588Z","updated_at":"2025-05-12T19:40:52.921Z","avatar_url":"https://github.com/fwcd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spleeter-pytorch\n\nA small implementation of the [Spleeter](https://github.com/deezer/spleeter) stem separation model in PyTorch. Using this model, audio files can be demixed into vocals, instrumentation etc.\n\n## Example\n\nInstall the package using `pip3 install .`, then run\n\n```sh\nspleeter-pytorch audio-example.mp3\n```\n\nto separate the example file. The output will be located in `output/stems`.\n\n## Conversion to Core ML\n\nThe non-FFT parts of the Spleeter model can be converted to Core ML, for efficient inference on macOS/iOS devices. To perform the conversion, run\n\n```sh\n./convert-to-coreml\n```\n\nThe `.mlpackage` will be located under `output/coreml`.\n\n\u003e Note: The converted model corresponds to the [`Separator`](spleeter_pytorch/separator.py) module and still requires the consumer of the model to manually perform the STFT conversion as performed in the [`Estimator`](spleeter_pytorch/estimator.py). This is due to Core ML [not supporting FFT operations yet](https://github.com/apple/coremltools/issues/1311).\n\n## Note\n\n* Currently this is only tested with the 2stems model. Feel free to [get one of the other models](https://github.com/deezer/spleeter/releases/tag/v1.4.0) and test it on them.\n* There might be some bugs, the quality of output isn't as good as the original. If someone found the reason, please open a pull request. Thanks.\n\n## Reference\n\n* [Original Spleeter](https://github.com/deezer/spleeter) by [`deezer`](https://github.com/deezer)\n* [Original `spleeter-pytorch`](https://github.com/tuan3w/spleeter-pytorch) by [`tuan3w`](https://github.com/tuan3w)\n\n## License\n\n**MIT**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fspleeter-pytorch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffwcd%2Fspleeter-pytorch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffwcd%2Fspleeter-pytorch/lists"}