Skip to main content

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 hashes)

Uploaded Source

Built Distribution

tvmodels-0.0.7-py3-none-any.whl (11.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page