Name | torch-lure JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | None |
upload_time | 2024-04-25 08:22:40 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | None |
keywords |
pytorch
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Torch Lure
<a href="https://www.youtube.com/watch?v=wCzCOYCfY9g" target="_blank">
<img src="http://img.youtube.com/vi/wCzCOYCfY9g/maxresdefault.jpg" alt="Chandelure" style="width: 100%;">
</a>
```sh
pip install torch-lure
```
# Usage
```py
import torch_lure as lure
# Optimizers
lure.SophiaG(lr=1e-3, weight_decay=0.2)
# Functions
lure.tanh_exp(x)
lure.TanhExp()
lure.quantile_loss(y_pred, y_target, quantile=0.5)
lure.QuantileLoss(quantile=0.5)
lure.RMSNrom(dim=256, eps=1e-6)
# Noise Scheduler
lure.LinearNoiseScheduler(beta=1e-4, beta_end=0.02, num_timesteps=1000)
lure.CosineNoiseScheduler(max_beta=0.999, s=0.008, num_timesteps=1000):
```
Raw data
{
"_id": null,
"home_page": null,
"name": "torch-lure",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "pytorch",
"author": null,
"author_email": "fuyutarow <fuyutarow@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/51/ba/fbee5088ee90de03719121b9af86a885672a3d6b46219e082447c0a85c0e/torch_lure-0.1.1.tar.gz",
"platform": null,
"description": "# Torch Lure\n\n\n<a href=\"https://www.youtube.com/watch?v=wCzCOYCfY9g\" target=\"_blank\">\n <img src=\"http://img.youtube.com/vi/wCzCOYCfY9g/maxresdefault.jpg\" alt=\"Chandelure\" style=\"width: 100%;\">\n</a>\n\n\n```sh\npip install torch-lure\n```\n\n\n# Usage\n```py\nimport torch_lure as lure\n\n# Optimizers\nlure.SophiaG(lr=1e-3, weight_decay=0.2)\n\n# Functions\nlure.tanh_exp(x)\nlure.TanhExp()\n\nlure.quantile_loss(y_pred, y_target, quantile=0.5)\nlure.QuantileLoss(quantile=0.5)\n\nlure.RMSNrom(dim=256, eps=1e-6)\n\n# Noise Scheduler\nlure.LinearNoiseScheduler(beta=1e-4, beta_end=0.02, num_timesteps=1000)\nlure.CosineNoiseScheduler(max_beta=0.999, s=0.008, num_timesteps=1000):\n```",
"bugtrack_url": null,
"license": null,
"summary": null,
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/fuyutarow/torch-lure",
"Repository": "https://github.com/fuyutarow/torch-lure"
},
"split_keywords": [
"pytorch"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8e13bdd7710ec4a6ed8637c99261a0227b7357093eb291df05d2d1243e76e122",
"md5": "b20d0e06587d75a0cc5c6d08cdf47001",
"sha256": "5be88d630de456d404f4b6f89f17ad3f236fec1689085765be400e2e73c59647"
},
"downloads": -1,
"filename": "torch_lure-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b20d0e06587d75a0cc5c6d08cdf47001",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5499,
"upload_time": "2024-04-25T08:22:39",
"upload_time_iso_8601": "2024-04-25T08:22:39.422463Z",
"url": "https://files.pythonhosted.org/packages/8e/13/bdd7710ec4a6ed8637c99261a0227b7357093eb291df05d2d1243e76e122/torch_lure-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "51bafbee5088ee90de03719121b9af86a885672a3d6b46219e082447c0a85c0e",
"md5": "501406213877657cf0e7e07e3e24fcc4",
"sha256": "d2d805c5c62ff6ddcc9094a319bc9915dee41aa8a236916b4e47005e5099c915"
},
"downloads": -1,
"filename": "torch_lure-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "501406213877657cf0e7e07e3e24fcc4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 4101,
"upload_time": "2024-04-25T08:22:40",
"upload_time_iso_8601": "2024-04-25T08:22:40.739941Z",
"url": "https://files.pythonhosted.org/packages/51/ba/fbee5088ee90de03719121b9af86a885672a3d6b46219e082447c0a85c0e/torch_lure-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-25 08:22:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fuyutarow",
"github_project": "torch-lure",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "torch-lure"
}