HS-TasNet


NameHS-TasNet JSON
Version 0.0.7 PyPI version JSON
download
home_pageNone
SummaryHS TasNet
upload_time2025-08-06 17:31:19
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT License Copyright (c) 2025 Phil Wang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords artificial intelligence deep learning music separation real time
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <img src="./fig1.png" width="350px"></img>

## HS-TasNet (wip)

Implementation of [HS-TasNet](https://arxiv.org/abs/2402.17701), "Real-time Low-latency Music Source Separation using Hybrid Spectrogram-TasNet", proposed by the research team at L-Acoustics

## Install

```bash
$ pip install HS-TasNet
```

## Usage

```python
import torch

from hs_tasnet.hs_tasnet import HSTasNet

model = HSTasNet()

print(model.num_parameters) # 40325881 ~ 41M in paper

small_model = HSTasNet(small = True)

print(small_model.num_parameters) # 18297881 ~ 16M in paper
```

## Sponsors

This open sourced work is sponsored by [Sweet Spot](https://github.com/sweetspotsoundsystem)

## Citations

```bibtex
@misc{venkatesh2024realtimelowlatencymusicsource,
    title    = {Real-time Low-latency Music Source Separation using Hybrid Spectrogram-TasNet}, 
    author   = {Satvik Venkatesh and Arthur Benilov and Philip Coleman and Frederic Roskam},
    year     = {2024},
    eprint   = {2402.17701},
    archivePrefix = {arXiv},
    primaryClass = {eess.AS},
    url      = {https://arxiv.org/abs/2402.17701}, 
}
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "HS-TasNet",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "artificial intelligence, deep learning, music separation, real time",
    "author": null,
    "author_email": "Phil Wang <lucidrains@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/76/5f/ef4bbb22973293fda1c063eb4feaf50fb1a14acabf30ac14403467845d4e/hs_tasnet-0.0.7.tar.gz",
    "platform": null,
    "description": "<img src=\"./fig1.png\" width=\"350px\"></img>\n\n## HS-TasNet (wip)\n\nImplementation of [HS-TasNet](https://arxiv.org/abs/2402.17701), \"Real-time Low-latency Music Source Separation using Hybrid Spectrogram-TasNet\", proposed by the research team at L-Acoustics\n\n## Install\n\n```bash\n$ pip install HS-TasNet\n```\n\n## Usage\n\n```python\nimport torch\n\nfrom hs_tasnet.hs_tasnet import HSTasNet\n\nmodel = HSTasNet()\n\nprint(model.num_parameters) # 40325881 ~ 41M in paper\n\nsmall_model = HSTasNet(small = True)\n\nprint(small_model.num_parameters) # 18297881 ~ 16M in paper\n```\n\n## Sponsors\n\nThis open sourced work is sponsored by [Sweet Spot](https://github.com/sweetspotsoundsystem)\n\n## Citations\n\n```bibtex\n@misc{venkatesh2024realtimelowlatencymusicsource,\n    title    = {Real-time Low-latency Music Source Separation using Hybrid Spectrogram-TasNet}, \n    author   = {Satvik Venkatesh and Arthur Benilov and Philip Coleman and Frederic Roskam},\n    year     = {2024},\n    eprint   = {2402.17701},\n    archivePrefix = {arXiv},\n    primaryClass = {eess.AS},\n    url      = {https://arxiv.org/abs/2402.17701}, \n}\n```\n",
    "bugtrack_url": null,
    "license": "MIT License\n        \n        Copyright (c) 2025 Phil Wang\n        \n        Permission is hereby granted, free of charge, to any person obtaining a copy\n        of this software and associated documentation files (the \"Software\"), to deal\n        in the Software without restriction, including without limitation the rights\n        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n        copies of the Software, and to permit persons to whom the Software is\n        furnished to do so, subject to the following conditions:\n        \n        The above copyright notice and this permission notice shall be included in all\n        copies or substantial portions of the Software.\n        \n        THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n        SOFTWARE.",
    "summary": "HS TasNet",
    "version": "0.0.7",
    "project_urls": {
        "Homepage": "https://pypi.org/project/hs-tasnet/",
        "Repository": "https://github.com/lucidrains/hs-tasnet"
    },
    "split_keywords": [
        "artificial intelligence",
        " deep learning",
        " music separation",
        " real time"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c108e2d2904a7d28edce855dd0a78c7f8d1baa69f91b7207ce994622751d6eb6",
                "md5": "ff5563e0f6f7bb3a163ca7fa7bdc7965",
                "sha256": "39e774fa6620ad528b37085d172baec9c1aa247a793cce4adf555c3c66add9fd"
            },
            "downloads": -1,
            "filename": "hs_tasnet-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ff5563e0f6f7bb3a163ca7fa7bdc7965",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 7407,
            "upload_time": "2025-08-06T17:31:18",
            "upload_time_iso_8601": "2025-08-06T17:31:18.547449Z",
            "url": "https://files.pythonhosted.org/packages/c1/08/e2d2904a7d28edce855dd0a78c7f8d1baa69f91b7207ce994622751d6eb6/hs_tasnet-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "765fef4bbb22973293fda1c063eb4feaf50fb1a14acabf30ac14403467845d4e",
                "md5": "ba24b9a86a01030d88de0ae4432b26c2",
                "sha256": "538c571e33e8370c38eb084414b950d66807100294d611d6d7c935854ab2f737"
            },
            "downloads": -1,
            "filename": "hs_tasnet-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "ba24b9a86a01030d88de0ae4432b26c2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 183213,
            "upload_time": "2025-08-06T17:31:19",
            "upload_time_iso_8601": "2025-08-06T17:31:19.834866Z",
            "url": "https://files.pythonhosted.org/packages/76/5f/ef4bbb22973293fda1c063eb4feaf50fb1a14acabf30ac14403467845d4e/hs_tasnet-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-06 17:31:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lucidrains",
    "github_project": "hs-tasnet",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "hs-tasnet"
}
        
Elapsed time: 1.58580s