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
.
pip install mimm
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)
This repository is based on the following repositories: