OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Replknet

RepLKNet is a Python convolutional neural network implementation for MegEngine image classification, with model code, pretrained weights and training and evaluation resources.

Independent OpenViST project profile, based on linked sources.

Replknet — ImageNet-oriented RepLKNet training and evaluation in MegEngine
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use RepLKNet when you need a MegEngine image-classification implementation and want to work with its supplied weights, training configuration or evaluation workflow.

Who it is for

  • Researchers evaluating convolutional neural network models for image classification.
  • Developers using MegEngine who want to train or fine-tune RepLKNet with the documented BaseCls workflow.
  • Practitioners benchmarking large depth-wise convolution kernels.

Documented uses

  • Evaluate a RepLKNet model against ImageNet validation data using a weight file.
  • Train or fine-tune with the provided ImageNet configuration and training script.
  • Compare large depth-wise convolution kernel speed using the benchmark script.
Before you choose

Requirements & limits

The repository is public and identifies the project as open source. The README states an MIT license, while repository metadata lists Apache-2.0.

  • The documented training and evaluation workflows depend on MegEngine and BaseCls.
  • Evaluation requires a compatible weight file and validation data path.
  • The README lists a RepLKNet-31B ImageNet-1K model at 224 × 224 with 83.58 accuracy, 79M parameters and 15.3G FLOPs.
  • MegEngine 1.8.2 is specified as the minimum for optimized large depth-wise convolutions in the benchmark context.
  • The repository catalog marks MegEngine downstream models and downstream code as absent.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Evaluate RepLKNet on ImageNet validation data

Run the documented evaluation workflow with a pretrained weight file and ImageNet validation data.

Before you start

  • MegEngine installed.
  • BaseCls installed.
  • A compatible RepLKNet weight file.
  • An ImageNet validation dataset and its local path.

Steps

  1. Install MegEngine using the README's documented pip command.

  2. Install BaseCls using the documented pip command.

  3. From the repository, run ./main_imagenet_test.py -f configs/replknet31_base_224_pt1k.py -w [weights] batch_size 64 data.val_path /path/to/imagenet/val, replacing the weight placeholder and validation path with local values.

Expected outcome

The evaluation script runs with the selected configuration, weights and validation-data path.

Guide limitations

  • The command requires a compatible weight file and ImageNet validation path.
  • The repository documents the command but does not establish results for a particular environment or dataset.
Source-based practical guide

Set up the documented ImageNet training workflow

Prepare the MegEngine and BaseCls dependencies and invoke the repository's ImageNet training command.

Before you start

  • MegEngine and BaseCls installed.
  • ImageNet training and validation data, with local paths.

Steps

  1. Install MegEngine using the README's documented pip command.

  2. Install BaseCls using the documented pip command.

  3. From the repository, run ./main_imagenet_train.py -f configs/replknet31_base_224_pt1k.py data.train_path /path/to/imagenet/train data.val_path /path/to/imagenet/val, substituting the local dataset paths.

Expected outcome

The documented training command is configured to use the RepLKNet-31B ImageNet-1K configuration and the supplied data paths.

Guide limitations

  • The README does not detail dataset preparation or custom-dataset configuration changes.
  • The command alone does not establish a successful training run.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
21 November 2026
Original website title
MegEngine/RepLKNet · Official homepage title · retained in its source language