Views
No views yet
| Field | Value |
|---|---|
| Architecture | Four Conv-BN-ReLU-Pool blocks plus dense classifier |
| Parameters | 2,492,170 |
| Input | RGB image resized to 64 x 64 |
| Output | 10 EuroSAT land-use classes |
| Runtime | CPU-friendly PyTorch inference |
AnnualCrop, Forest, HerbaceousVegetation, Highway, Industrial,
Pasture, PermanentCrop, Residential, River, SeaLake1import torch
2from huggingface_hub import hf_hub_download
3
4from model import SimpleNet, CLASS_NAMES
5
6weights = hf_hub_download(
7 repo_id="yava-code/eurosat-simplenet",
8 filename="simple_net_v1.pth",
9)
10
11model = SimpleNet(num_classes=len(CLASS_NAMES))
12model.load_state_dict(torch.load(weights, map_location="cpu"))
13model.eval()SimpleNet architecture.