Name | drtensor JSON |
Version |
0.0.2
JSON |
| download |
home_page | None |
Summary | Pytorch modeling easier |
upload_time | 2024-04-18 17:38:34 |
maintainer | None |
docs_url | None |
author | None |
requires_python | None |
license | None |
keywords |
pytorch
debug
tensor
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Doctor Tensor 🩺
```
pip install drtensor
```
> Debug tool to help pytorch modeling
## 📦 Installation
We assume you have the pytorch already installed. Or this library doesn't serve any purpose.
```bash
pip install drtensor
```
## 🚀 Usage
### With clause
```python
from drtensor.doctor import DrTensor
model = reset_model()
dr_tensor = DrTensor(resnet=model)
with dr_tensor:
y_ = model(torch.randn(1, 3, 224, 224))
# check the logs
print(dr_tensor.logs[-5:])
```
Raw data
{
"_id": null,
"home_page": null,
"name": "drtensor",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "pytorch, debug, tensor",
"author": null,
"author_email": "raynardj <b2ray2c@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/ce/38/bdad9e319be79071ca2a844392cd4912fb4ee787187605f210a4e7da6afb/drtensor-0.0.2.tar.gz",
"platform": null,
"description": "# Doctor Tensor \ud83e\ude7a\n\n```\npip install drtensor\n```\n\n> Debug tool to help pytorch modeling\n\n## \ud83d\udce6 Installation\nWe assume you have the pytorch already installed. Or this library doesn't serve any purpose.\n\n```bash\npip install drtensor\n```\n\n## \ud83d\ude80 Usage\n### With clause\n```python\nfrom drtensor.doctor import DrTensor\n\n\nmodel = reset_model()\n\ndr_tensor = DrTensor(resnet=model)\n\nwith dr_tensor:\n y_ = model(torch.randn(1, 3, 224, 224))\n\n# check the logs\nprint(dr_tensor.logs[-5:])\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Pytorch modeling easier",
"version": "0.0.2",
"project_urls": {
"homepage": "https://github.com/raynardj/drtensor",
"repository": "https://github.com/raynardj/drtensor"
},
"split_keywords": [
"pytorch",
" debug",
" tensor"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8aee98ad27d5b4bd9b40c5a546de578418fe61645fcafbfce070813592fed0ca",
"md5": "377d60b0940da35bac2dbad6dac8a6c9",
"sha256": "0b25451766dd9d29bf8301261584db74ab1c9e725a583bfafbba33442884dc82"
},
"downloads": -1,
"filename": "drtensor-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "377d60b0940da35bac2dbad6dac8a6c9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 17883,
"upload_time": "2024-04-18T17:38:33",
"upload_time_iso_8601": "2024-04-18T17:38:33.002785Z",
"url": "https://files.pythonhosted.org/packages/8a/ee/98ad27d5b4bd9b40c5a546de578418fe61645fcafbfce070813592fed0ca/drtensor-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ce38bdad9e319be79071ca2a844392cd4912fb4ee787187605f210a4e7da6afb",
"md5": "a183fe9a1ff3ba31f96325947579301e",
"sha256": "05abc489793757796b44da9eb8350569d6f7db0db7d98d667b516c2dd444fa06"
},
"downloads": -1,
"filename": "drtensor-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "a183fe9a1ff3ba31f96325947579301e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 17156,
"upload_time": "2024-04-18T17:38:34",
"upload_time_iso_8601": "2024-04-18T17:38:34.664682Z",
"url": "https://files.pythonhosted.org/packages/ce/38/bdad9e319be79071ca2a844392cd4912fb4ee787187605f210a4e7da6afb/drtensor-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-18 17:38:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "raynardj",
"github_project": "drtensor",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "drtensor"
}