spandrel-extra-arches-0.2.0
توضیحات
Implements extra model architectures for spandrel
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | spandrel-extra-arches-0.2.0 |
| نام | spandrel-extra-arches |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | chaiNNer team |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/spandrel-extra-arches/ |
| مجوز | MIT |
# Spandrel extra architectures
[](https://pypi.org/project/spandrel_extra_arches/)
[](https://github.com/chaiNNer-org/spandrel/releases)
[](https://pypi.org/project/spandrel_extra_arches/#files)
[](https://pypi.org/project/spandrel/#files:~:text=Requires%3A%20Python%20%3C3.12%2C%20%3E%3D3.8)
This library implements various PyTorch architectures with restrictive licenses for [spandrel](https://github.com/chaiNNer-org/spandrel).
If you are working on a private project or non-commercial open-source project, you are free to use this library. If you are working on a commercial or closed-source project, you may need to review the licenses of the individual architectures before using this library.
## Installation
You need to install both `spandrel` and `spandrel_extra_arches`:
```shell
pip install spandrel spandrel_extra_arches
```
## Basic usage
```python
import spandrel
import spandrel_extra_arches
# add extra architectures before `ModelLoader` is used
spandrel_extra_arches.install()
# load a model from disk
model = spandrel.ModelLoader().load_from_file(r"path/to/model.pth")
... # use model
```
## Model Architecture Support
For a full list of all architectures implemented in this library, see [the architectures marked with "(+)" here](https://github.com/chaiNNer-org/spandrel#model-architecture-support).
## License
This library is licensed under the MIT license but contains the source code of architectures with non-commercial and copyleft licenses. You may need to review the licenses of the individual architectures before using this library.
نیازمندی
| مقدار | نام |
|---|---|
| - | spandrel>=0.3.2 |
| - | torch |
| - | torchvision |
| - | numpy |
| - | einops |
| - | typing-extensions |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl spandrel-extra-arches-0.2.0:
pip install spandrel-extra-arches-0.2.0.whl
نصب پکیج tar.gz spandrel-extra-arches-0.2.0:
pip install spandrel-extra-arches-0.2.0.tar.gz