Skip to main content

MLX Image Models

Project description

MLX Image Models

Introduction

This repository contains implementations for image models in MLX with functions to load pretrained weights from PyTorch. Example training code is provided in mimm/scripts.

Installation

pip install mimm

Usage

from mimm import get_model, list_models

# List available models
print(list_models())

# Load a model and convert weights from torchvision
model = get_model('resnet50', pretrained=True)

Models

Classification

Acknowledgements

This repository is based on the following repositories:

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

mimm-0.0.2.tar.gz (33.1 kB view hashes)

Uploaded Source

Built Distribution

mimm-0.0.2-py3-none-any.whl (24.3 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