GithubHelp home page GithubHelp logo

clickseg-cracks's Introduction

Training ClickSEG HRNet18 on custom Cracks Dataset

Origingal repo: https://github.com/XavierCHEN34/ClickSEG


Generally, it takes only 1-3 clicks avg. to achieve good cracks predictions, but the model often do the job in 1 click.

Trained checkpoints: https://drive.google.com/drive/folders/1v7KxJenZzYii6Dh7Ad2ePKn4SinSS4Q7?usp=sharing

Prediction Samples:

Dataset Info

Crack-segmentation-dataset from kaggle: https://www.kaggle.com/datasets/lakshaymiddha/crack-segmentation-dataset

This Dataset contains around 11.200 images that are merged from 12 available crack segmentation datasets.

There are many inaccurate masks in ground truth. This adds noise to the data, reducing the IoU metrics significantly.

Inaccurate masks samples:

Trained model info:

  • Model: HRNetV2-W18 S2
  • Pretrained: ImageNet
  • Input size: 256, 256
  • Train data count: 9603
  • Batch size: 40
  • Epochs trained: 23
  • Val. Metric (AdaptiveIoU): 0.5788

Val. Metrics (FocalClick hrnet18), 500 test samples:

[email protected]% [email protected]% [email protected]% [email protected]% [email protected]%
1.76 2.29 2.91 3.71 4.87
IoU at 1 clicks IoU at 2 clicks IoU at 3 clicks IoU at 5 clicks IoU at 15 clicks
0.6280 0.6340 0.6386 0.6504 0.6825

There are several changes from the original clickSEG repo:

  • Fixed data loading in ISDataset. Without this fix some training samples was skiped (isegm/data/base.py)
  • Added validation step with NoC metrics while training
  • More augmentations in training
  • Updated to last version of albumentations
  • Removed dependency on mmcv (for HRNet)
  • Better eval script, more metrics

clickseg-cracks's People

Contributors

max-unfinity avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.