Implementation of vision models with their pretrained weights
Project description
tvmodels
The tvmodels library contains pretrained vision models in pytorch trained on ImageNet. Some of these models are available in torchvision but some are not, so you can load them for here.
Installation
Run the following to install:
pip install tvmodels
Colab
If it shows ModuleNotFoundError
on Google-colab use the following:
!git clone https://github.com/rohitgr7/tvmodels.git
import sys
sys.path.append('/content/tvmodels')
Usage
from tvmodels.models import se_resnet50, resnet18
# Load the models
se_res_model = se_resnet50(pretrained=True)
res_model = resnet18(pretrained=True)
Available models
- ResNet(s)
- ResNext(s)
- SEResNet(s)
- SEResNeXt(s)
- SENet154
- EfficientNets
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tvmodels-0.0.7.tar.gz
(7.6 kB
view details)
Built Distribution
tvmodels-0.0.7-py3-none-any.whl
(11.0 kB
view details)
File details
Details for the file tvmodels-0.0.7.tar.gz
.
File metadata
- Download URL: tvmodels-0.0.7.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9466812e5b1a328eb937da3da47ef8d98f74253c1371eb020cfa9db438721a6 |
|
MD5 | f475c427854fd0542e56e57f92c03ac5 |
|
BLAKE2b-256 | 821cf86db61ae7d3003e14db8d2fff5ab4de7d7216678f9c5caea013ac97e082 |
File details
Details for the file tvmodels-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: tvmodels-0.0.7-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b46f5429bdf2f3771f9a6151282a2cc6f0414f0ed974de6e0dc00798d708e67b |
|
MD5 | 1406214eb59f0fabe08a52eb4c4c7178 |
|
BLAKE2b-256 | 98cd44798336d94dc8c8faacdda004e734e5dbcc3c577449a0c756cdcd994aad |