# Crack-Semantic-Segmentation **Repository Path**: finetooth/Crack-Semantic-Segmentation ## Basic Information - **Project Name**: Crack-Semantic-Segmentation - **Description**: Real time crack segmentation using PyTorch, OpenCV and ONNX runtime - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-26 - **Last Updated**: 2021-02-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Unet Semantic Segmentation for Cracks ## Real time Crack Segmentation using PyTorch, OpenCV, ONNX runtime ### Dependencies:

Pytorch

OpenCV

ONNX runtime

CUDA >= 9.0
### Instructions:

1.Train model with your datatset and save model weights (.pt file) using unet_train.py on supervisely.ly

2.Convert model weights to ONNX format using pytorch_to_onnx.py

3.Obtain real time inference using crack_det_new.py
Crack segmentation model files can be downloaded by clicking this [link](https://drive.google.com/file/d/10dSDs6riOSb4dWPtEDRCoqyOtO_Uh7k8/view?usp=sharing) ### Results: ![](crack_inference.gif) ### Graphs: ![alt text](https://raw.githubusercontent.com/anishreddy3/Crack_Semantic_Segmentation/master/accuracy.png) ![alt text](https://raw.githubusercontent.com/anishreddy3/Crack_Semantic_Segmentation/master/loss.png)