Skip to page content
SAVRN
Search Plan a project

Open-weight model · Image segmentation

crackevo-unet-r34

by Ai Dihao/crackevo-unet-r34

crackevo-unet-r34 is an open-weight model for image segmentation from Ai, released under MIT License. Its published files total 195.7 MB.

Single-frame crack segmentation for laboratory fracture images: concrete and cement-mortar cubes under uniaxial compression, coal / sandstone Brazilian discs under SHPB impact.

Parameters—
Context—
Weights195.6 MB
Licensemit
AccessOpen weights
Monthly Downloads—

Model Card

By Ai, published under mit, revision 4ff9782b1f25.

Single-frame crack segmentation for laboratory fracture images: concrete and cement-mortar cubes under uniaxial compression, coal / sandstone Brazilian discs under SHPB impact. Trained on the CrackEvo benchmark (China University of Mining and Technology-Beijing laboratory experiments) plus public crack datasets (CFD, CrackTree, DeepCrack, 40k) used for training only. Large images are processed with 512-px sliding windows (stride 384, logits averaged). About 45 ms per tile on a desktop CPU with ONNX Runtime. Exact-pixel IoU is limited by centre-line ground truth on two of the sources; tolerant F1 reflects localisation quality. Cross-material generalisation (unseen sandstone) drops to IoU…

Read Ai's full model card

CrackEvo · UNet-ResNet34 crack segmentation (protocol A baseline)

Single-frame crack segmentation for laboratory fracture images: concrete and cement-mortar cubes under uniaxial compression, coal / sandstone Brazilian discs under SHPB impact. Trained on the CrackEvo benchmark (China University of Mining and Technology-Beijing laboratory experiments) plus public crack datasets (CFD, CrackTree, DeepCrack, 40k) used for training only.

file format input output
crackevo_unet_r34_A.onnx ONNX opset 17, CPU-friendly image float32 [N,3,512,512], ImageNet-normalised RGB logit [N,1,512,512], sigmoid > 0.5 = crack
crackevo_unet_r34_A.pt PyTorch state_dict for segmentation_models_pytorch.Unet("resnet34", classes=1) same same

Large images are processed with 512-px sliding windows (stride 384, logits averaged). About 45 ms per tile on a desktop CPU with ONNX Runtime.

Results (sequence-level held-out test split, protocol A)

metric value
pixel IoU 0.453
pixel F1 0.623
boundary-tolerant F1 (2 px) 0.834
clDice 0.690
sequence-mean IoU (95 % CI) 0.571 [0.500, 0.638]

Exact-pixel IoU is limited by centre-line ground truth on two of the sources; tolerant F1 reflects localisation quality. Cross-material generalisation (unseen sandstone) drops to IoU 0.429; cross loading-rate generalisation is unaffected (0.456).

Usage

import numpy as np, onnxruntime as ort, cv2
sess = ort.InferenceSession("crackevo_unet_r34_A.onnx", providers=["CPUExecutionProvider"])
img = cv2.cvtColor(cv2.imread("frame.jpg"), cv2.COLOR_BGR2RGB)[:512, :512]   # tile
x = (img.astype(np.float32) / 255 - [0.485, 0.456, 0.406]) / [0.229, 0.224, 0.225]
logit = sess.run(None, {"image": x.transpose(2, 0, 1)[None].astype(np.float32)})[0]
mask = logit[0, 0] > 0

Research model; no guarantee for field inspection use. Part of the CrackEvo project (code, benchmark and demo links will be added here).

Identity and Version

Repository
Dihao/crackevo-unet-r34
Publisher
Ai
Task
Image segmentation
Modality
Image
Library
onnx
Parameters
Not stated by the source
Languages
Not stated by the source
Revision
4ff9782b1f25c9e0830cb5de7dd997e31d0d3daf
First published
2026-09-26
Last updated
2026-09-26

Files and Weights

4 files, 195.7 MB in total. The weights are 2 files totalling 195.6 MB in onnx, pt.

Weights2 files · 195.6 MB
Documentation1 file · 2.1 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
crackevo_unet_r34_A.onnxWeights97.7 MB dc39454ffd72
crackevo_unet_r34_A.ptWeights97.9 MB 44de56b8c788
README.mdDocumentation2.1 KB —
.gitattributesRepository1.5 KB —

License and Download

License
mit
Access
Open weights, no gate
Download size
195.6 MB
Download from Ai

Released by Ai through its official repository on Hugging Face. Read the license.

Memory Requirements

PrecisionWeights in memory
As published195.6 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About crackevo-unet-r34

Can I use crackevo-unet-r34 commercially?

Yes. crackevo-unet-r34 is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

Similar Models

Model · Image segmentation

segformer-b2-finetuned-ade-512-512

NVIDIA

SegFormer model fine-tuned on ADE20k at resolution 512x512. It was introduced in the paper SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers by Xie et al. and first released in this repository. Disclaimer: The team releasing SegFormer did not write a model card for this model so this model card has been written by the Hugging Face team. SegFormer consists of a hierarchical Transformer encoder and a lightweight all-MLP decode head to achieve great results on semantic segmentation benchmarks such as ADE20K and Cityscapes. The hierarchical Transformer is first pre-trained on ImageNet-1k, after which a decode head is added and fine-tuned altogether on a…

Open weights other transformers

Model · Image segmentation

segformer-b3-finetuned-ade-512-512

NVIDIA

SegFormer model fine-tuned on ADE20k at resolution 512x512. It was introduced in the paper SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers by Xie et al. and first released in this repository. Disclaimer: The team releasing SegFormer did not write a model card for this model so this model card has been written by the Hugging Face team. SegFormer consists of a hierarchical Transformer encoder and a lightweight all-MLP decode head to achieve great results on semantic segmentation benchmarks such as ADE20K and Cityscapes. The hierarchical Transformer is first pre-trained on ImageNet-1k, after which a decode head is added and fine-tuned altogether on a…

Open weights other transformers

Model · Image segmentation

oneformer_ade20k_swin_large

SHI Labs

OneFormer model trained on the ADE20k dataset (large-sized version, Swin backbone). It was introduced in the paper OneFormer: One Transformer to Rule Universal Image Segmentation by Jain et al. and first released in this repository. OneFormer is the first multi-task universal image segmentation framework. It needs to be trained only once with a single universal architecture, a single model, and on a single dataset, to outperform existing specialized models across semantic, instance, and panoptic segmentation tasks. OneFormer uses a task token to condition the model on the task in focus, making the architecture task-guided for training, and task-dynamic for inference, all with a single…

Open weights mit transformers

Model · Image segmentation

segformer-b1-finetuned-ade-512-512

NVIDIA

SegFormer model fine-tuned on ADE20k at resolution 512x512. It was introduced in the paper SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers by Xie et al. and first released in this repository. Disclaimer: The team releasing SegFormer did not write a model card for this model so this model card has been written by the Hugging Face team. SegFormer consists of a hierarchical Transformer encoder and a lightweight all-MLP decode head to achieve great results on semantic segmentation benchmarks such as ADE20K and Cityscapes. The hierarchical Transformer is first pre-trained on ImageNet-1k, after which a decode head is added and fine-tuned altogether on a…

Open weights other transformers

Model · Image segmentation

segformer-b0-finetuned-ade-512-512

Joshua

https://huggingface.co/nvidia/segformer-b0-finetuned-ade-512-512 with ONNX weights to be compatible with Transformers.js. If you haven't already, you can install the Transformers.js JavaScript library from NPM using: Example: Image segmentation with Xenova/segformer-b0-finetuned-ade-512-512. You can visualize the outputs with: Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using Optimum and structuring your repo like this one (with ONNX weights located in a subfolder named onnx).

Open weights transformers.js

Model · Image segmentation

DelineateAnything

Mykola Lavreniuk

Delineate Anything v2 extends Delineate Anything into a globally representative, resolution-agnostic foundation model that scales agricultural field boundary detection to a planetary level from any imagery source. Trained on FBIS-73M, a massive 73-million-instance dataset spanning 61 countries with diverse imagery sources ranging from 0.25m to 10m resolution, built through a resolution-specific curation pipeline that solves the parcel-versus-field mismatch, Delineate Anything v2 sets a new state-of-the-art in global zero-shot delineation. It delivers a +103.3% relative gain in [email protected] over Delineate Anything while maintaining extreme efficiency, mapping all of Ukraine (603,000 km²) in 5.4…

Open weights agpl-3.0 ultralytics