Skip to content

Improve ability to load pretrained models #3

@wrongu

Description

@wrongu

Currently, we can do this:

from nn_lib.models import get_pretrained_model

model = get_pretrained_model("resnet18")

This is a wrapper around the torchvision.models module. We should look into other model sources. The huggingface transformers or timm packages should be added. And if timm subsumes torchvision.models then we should perhaps remove the torchvision interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions