Wood Image Classification — B2 (Individual Split)
PyTorch checkpoint for condition B2_species_20_individual_split, using ConvNeXt-Tiny (timm architecture: convnext_tiny). The task has 20 classes and separates individuals across the split.
Evaluation
This is the fold-1, seed-42 checkpoint. It was trained on the fold-1 training and validation partitions and evaluated on that fold's held-out test partition. These are single-fold results, not the aggregate across folds and seeds.
| Test images | Test individuals | Macro-F1 / image | Macro-F1 / individual | Accuracy |
|---|---|---|---|---|
| 1,198 | 72 | 0.797244 | 0.828659 | 0.858097 |
The primary metric for B2 is macro-F1 per individual, computed after averaging image probabilities within each individual.
Training configuration
- Classes: 20
- Epochs: 4
- Seed: 42
- Learning rate:
1e-5 - Weight decay:
0.05 - Selection: architecture and epoch selected using the validation protocol
The checkpoint file contains the state_dict, ordered class list, class_to_idx, training metadata, and preprocessing configuration.
Load the checkpoint
Requires PyTorch and timm.
import torch
import timm
checkpoint = torch.load(
"B2_species_20_individual_split_fold1_convnext_tiny_seed42.pt",
map_location="cpu",
weights_only=True,
)
model = timm.create_model(
checkpoint["model_name"],
pretrained=False,
num_classes=len(checkpoint["classes"]),
)
model.load_state_dict(checkpoint["state_dict"], strict=True)
model.eval()
classes = checkpoint["classes"]
class_to_idx = checkpoint["class_to_idx"]
Use resize to 256 pixels with bicubic interpolation, center crop to 224×224, convert to tensor, then normalize with checkpoint["pretrained_cfg"]["mean"] and checkpoint["pretrained_cfg"]["std"].
This is a fold-specific research model, not a model retrained on the entire dataset. Confirm the dataset's terms before redistributing the weights.
BibTeX
@article{casanova2026woodbrcross,
title = {{WoodBR-Cross}: A public wood-image dataset and individual-tree-disjoint benchmark for species identification},
author = {Casanova, Daniel and Gontijo, Alexandre Bahia and Candido Junior, Arnaldo and Nisgoski, Silvana and de Paula Filho, Pedro Luiz},
year = {2026},
journal = {arXiv preprint arXiv:2610.12676},
eprint = {2610.12676},
archivePrefix = {arXiv},
primaryClass = {cs.CV},
doi = {10.48550/arXiv.2610.12676},
url = {https://arxiv.org/abs/2610.12676}
}