Skip to content
/ L-VSS Public

Local-aware Visual State Space for Small Defect Segmentation in Complex Component Images

Notifications You must be signed in to change notification settings

Bian-jh/L-VSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local-aware Visual State Space for Small Defect Segmentation in Complex Component Images

This repository contains the PyTorch implementation and the proposed SD-Seg dataset.

1.Dataset Preparation

Download SD-Seg Dataset from Baidu Pan(xe6t) and the re-labeled PCB dataset from Baidu Pan(xjff).

2.Train

Train the model to get the checkpoints.

python train.py

3.Test

Calculate pixel-level and region-level metrics to evaluate the performance.

python cal_metrics.py

Output the segmentation masks for visualization.

python Test_defect.py

Reference

https://robotics.pkusz.edu.cn/resources/dataset/

About

Local-aware Visual State Space for Small Defect Segmentation in Complex Component Images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages