Practical overview
When it fits
Use ReXNet when you need a lightweight model implementation and pretrained weights to explore image classification or transfer learning in a Python and PyTorch workflow.
Who it is for
- Developers building image-classification systems with PyTorch.
- Computer-vision practitioners exploring pretrained backbones for transfer learning or COCO object detection.
Documented uses
- Load pretrained ReXNet weights and run image-classification inference.
- Fine-tune a pretrained model for a specialized image dataset.
- Evaluate ReXNet as a backbone for computer-vision tasks, including object detection.
Requirements & limits
The repository is public, identifies an MIT license, and documents local Python/PyTorch use.
- The README lists Python 3, PyTorch above 1.0, Torchvision above 0.2, and NumPy as requirements.
- Pretrained classification results use 224×224 input images.
- The README’s CPU example uses ReXNet-lite; its GPU example uses ReXNet.
- Reported latency comparisons specify particular hardware and, for the GPU figures, batch size 64.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Load a pretrained ReXNet model for inference
Use the repository’s documented example to load pretrained weights and evaluate a sample tensor.
Before you start
- Python 3
- PyTorch above 1.0
- Torchvision above 0.2
- NumPy
- A downloaded ReXNet or ReXNet-lite weight file
Steps
Choose a ReXNet or ReXNet-lite variant and obtain its listed pretrained weight file.
For GPU use, import torch and rexnetv1, create ReXNetV1 with the selected width multiplier, and move it to CUDA.
Load the corresponding state dictionary, set the model to evaluation mode, and pass a 224×224 sample tensor as shown in the README.
For CPU use, follow the README’s ReXNet-lite example with rexnetv1_lite and map the checkpoint to the CPU device.
Expected outcome
The model returns an output for the sample input using the selected pretrained weights.
Guide limitations
- The example uses a random tensor rather than a real image preprocessing pipeline.
- The GPU and CPU examples use different model variants.
- The README also identifies timm version 0.3.0 or later as another way to access the models.
Compare options for Model inference and serving
These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.
| Project | Documented purpose | Platform | Access and requirements |
|---|---|---|---|
| Rexnet | Load pretrained ReXNet weights and run image-classification inference. | Linux, Windows, macOS, Server, Self-hosted | The repository is public, identifies an MIT license, and documents local Python/PyTorch use. |
| Esanet | Generate semantic labels from paired color and depth images. | Linux | The public repository states that its source code is licensed under Apache 2.0. |
| Ling V2 | Generate text from chat prompts using Ling-mini-2.0 and Transformers. | The repository is public and identifies the project as open source under the MIT license. Model downloads are linked through Hugging Face and ModelScope. |
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 14 November 2026
- Original website title
- clovaai/rexnet · Official homepage title · retained in its source language

