YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
LuImage
LuImage is a convolutional neural network created from scratch with PyTorch for image classification.
Highlights
- Built from scratch with PyTorch
- No pretrained model
- Trained on CIFAR-10
- 10 image classes
- Lightweight CNN architecture
Architecture
Conv2D (3 β 16) β ReLU β MaxPool β Conv2D (16 β 32) β ReLU β MaxPool β Linear (2048 β 128) β ReLU β Linear (128 β 10)
Classes
- airplane
- automobile
- bird
- cat
- deer
- dog
- frog
- horse
- ship
- truck
Usage
import torch
from model import Luimage
model = Luimage(num_classes=10)
model.load_state_dict(
torch.load("luimage_weights.pth", map_location="cpu")
)
model.eval()
Training
LuImage was trained from scratch using the CIFAR-10 dataset.
Optimizer: Adam
Loss: CrossEntropyLoss
Learning rate: 0.001
Batch size: 64
Epochs: 10
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support