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
- AlexNet
- VGG + BatchNorm variants
- Resnet
- Wide Resnet
- MobileNetV3
- ViT
- Swin Transformer
- Swin v2
Acknowledgements
This repository is based on the following repositories:
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
mimm-0.0.2-py3-none-any.whl
(24.3 kB
view hashes)