Name | fimm JSON |
Version |
0.0.3
JSON |
| download |
home_page | None |
Summary | Finetune PyTorch Image Models with TIMM |
upload_time | 2024-12-16 11:15:56 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.11 |
license | MIT License Copyright (c) 2024 rapanti 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 |
machine learning
deep learning
image
fine-tuning
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# FIMM
Finetune PyTorch Image Models with TIMM
This project provides a simple way to finetune PyTorch Image Models with TIMM.
## Installation
To install FIMM (`fimm`), you can simply use `pip`:
```bash
pip install fimm
```
### Install from source
To install from source, you can clone this repo and install with `pip`:
```bash
git clone https://github.com/rapanti/fimm
pip install -e fimm # -e for editable mode
```
## Usage
To use FIMM, you can simply run the follwing command to train or finetune a model:
```bash
train --data-dir /path/to/dataset --model resnet50 --experiment resnet50 # this trains a resnet50 model from scratch
train --data-dir /path/to/dataset --model resnet50 --experiment resnet50 --pretrained # this finetunes a resnet50 model
```
To validate the performance of a model, you can simply run the following command:
```bash
validate --data-dir /path/to/eval/dataset --model resnet50 --checkpoint output/train/resnet50/model_best.pth.tar # this tests the resnet50 model
```
Raw data
{
"_id": null,
"home_page": null,
"name": "fimm",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "Machine Learning, Deep Learning, Image, Fine-Tuning",
"author": null,
"author_email": "Ivo Rapant <rapanti@cs.uni-freiburg.de>",
"download_url": "https://files.pythonhosted.org/packages/4c/5a/0c4a5788286f62ce05c1423a013c1e4ee942eb03af5518f5d868a2d28e22/fimm-0.0.3.tar.gz",
"platform": null,
"description": "# FIMM\nFinetune PyTorch Image Models with TIMM\n\nThis project provides a simple way to finetune PyTorch Image Models with TIMM.\n\n## Installation\nTo install FIMM (`fimm`), you can simply use `pip`:\n\n```bash\npip install fimm\n```\n\n### Install from source\nTo install from source, you can clone this repo and install with `pip`:\n\n```bash\ngit clone https://github.com/rapanti/fimm\npip install -e fimm # -e for editable mode\n```\n\n## Usage\nTo use FIMM, you can simply run the follwing command to train or finetune a model:\n```bash\ntrain --data-dir /path/to/dataset --model resnet50 --experiment resnet50 # this trains a resnet50 model from scratch\ntrain --data-dir /path/to/dataset --model resnet50 --experiment resnet50 --pretrained # this finetunes a resnet50 model\n```\n\nTo validate the performance of a model, you can simply run the following command:\n```bash\nvalidate --data-dir /path/to/eval/dataset --model resnet50 --checkpoint output/train/resnet50/model_best.pth.tar # this tests the resnet50 model\n```\n\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 rapanti 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. ",
"summary": "Finetune PyTorch Image Models with TIMM",
"version": "0.0.3",
"project_urls": {
"Bug Reports": "https://github.com/rapanti/fimm/issues",
"Homepage": "https://github.com/rapanti/fimm",
"Source": "https://github.com/rapanti/fimm"
},
"split_keywords": [
"machine learning",
" deep learning",
" image",
" fine-tuning"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f3d46239442ca6678702fe0f2f2fa771424de1af1aa0bb3cd5175d8c73468324",
"md5": "dc59234484a2b435e3db8380fbb610a5",
"sha256": "72aa55dfb0f6195439fc644987327fae141bc8b0c58a6d0db809fd0b79b4b917"
},
"downloads": -1,
"filename": "fimm-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dc59234484a2b435e3db8380fbb610a5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 43137,
"upload_time": "2024-12-16T11:15:53",
"upload_time_iso_8601": "2024-12-16T11:15:53.981024Z",
"url": "https://files.pythonhosted.org/packages/f3/d4/6239442ca6678702fe0f2f2fa771424de1af1aa0bb3cd5175d8c73468324/fimm-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4c5a0c4a5788286f62ce05c1423a013c1e4ee942eb03af5518f5d868a2d28e22",
"md5": "3f5f68bffc98e00eb452156f22f67d10",
"sha256": "7ca04bb9b75b7426860ffafd6d1a00dbfba0126a039da49ada4cda02b3ffd0bf"
},
"downloads": -1,
"filename": "fimm-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "3f5f68bffc98e00eb452156f22f67d10",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 38115,
"upload_time": "2024-12-16T11:15:56",
"upload_time_iso_8601": "2024-12-16T11:15:56.323504Z",
"url": "https://files.pythonhosted.org/packages/4c/5a/0c4a5788286f62ce05c1423a013c1e4ee942eb03af5518f5d868a2d28e22/fimm-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-16 11:15:56",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rapanti",
"github_project": "fimm",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "fimm"
}