Skip to main content

lepus-classifier

Archived

A CNN research project exploring optimal image classification architectures for small datasets, demonstrating that data quantity remains the fundamental bottleneck for deep learning performance.

Jupyter Notebook 2Updated Mar 16, 2026
bashcnncomputer-visiondeep-learningdockergithub-actionsimage-classificationmachine-learningopencv-pythonpippythonpytorchpytorch-lightningresearchsmall-dataset

Archived. This was a group project / final assessment for CSCI 4155/6505 — Machine Learning at Dalhousie University, part of the Artificial Intelligence & Intelligent Systems certificate (undergraduate/graduate mixed course). It is no longer actively maintained. Note: this project was built on PyTorch Lightning, which has since been superseded by Lightning.

Lepus Classifier

A CNN-based image classifier that distinguishes between two rabbit species using only ~85 training images.

Install · Report Bug · Research Report

CI

mascot

Quick Start

  1. Install dependencies:
pip install -r requirements.txt
  1. Login to Weights & Biases for experiment tracking:
wandb login
  1. Train a model:
from src.bootstrap import bootstrap

bootstrap()

Or define a custom architecture:

from src.bootstrap import bootstrap
from src.data.model import BaseModel
import torch

class CustomModel(BaseModel):
    def __init__(self):
        super().__init__()
        self.layers = torch.nn.Sequential(...)
        super().__post_init__()

    def forward(self, x):
        return self.layers(x)

bootstrap(model=CustomModel())

See notebooks/example_bootstrap.ipynb for a Google Colab example.

Project Structure

PathDescription
src/Training pipeline, data loading, and model definitions
notebooks/Experiment notebooks and usage examples
resources/data.csvDataset manifest (image URLs and labels)
docs/report-docs/lepus-classifier-report.pdfFinal research report
docs/poster.pdfProject poster
docs/proposals/Initial project proposals

Experiment Logs

Tracked with Weights & Biases: csci-4155-rabbit-classifier

Agent Skill

npx skills add urmzd/lepus-classifier

License

Apache 2.0