Giter VIP home page Giter VIP logo

project_magnitograms's Introduction

project_magnitograms

Open In Colab

Для проверки газовых труб на наличие дефектов используются специальные устройства-дефектоскопы, которые движутся по трубам и снимают магнитограммы при помощи датчиков.

Цель работы:

  • Выделение конструктивных элементов
    • Сварные швы
    • Разветвления
    • Сгибы
    • Заплатки
  • Выделение дефектов

Данные размечены по столбцам. Все изображения черно-белые размера 128x4096 и для каждого изображения даны два вектора длиной 4096, с метками конструктивных элементов и метками дефектов.

Метрики и критерии оценки

Во всех метриках $y$ -- метка класса, $y_i$ -- реальный класс $i$-того участка, $\hat{y}_i$ -- предсказанный класс $i$-того участка

Метрики для оценки качества выявления конструктивных элементов выглядит следующим образом:

$$ P_{el} = 0.25 \sum \frac{ \text{card} (\hat{y}_i=y|y_i=y) }{\text{card}(\hat{y}_i=y|y_i=y)+\text{card}(\hat{y}_i=y|y_i\neq y)}$$

$$ R_{el} = 0.25 \sum \frac{ \text{card} (\hat{y}_i=y|y_i=y) }{\text{card}(\hat{y}_i=y|y_i=y)+\text{card}(\hat{y}_i\neq y|y_i = y)}$$

$$ F_{el} = \frac{2}{P_{el}^{-1}+R_{el}^{-1}} $$

Метрики для оценки качества выявления дефектов выглядит следующим образом:

$$ P_{defect} = \frac{ \text{card} (\hat{y}_i=1|y_i=1) }{\text{card}(\hat{y}_i=1|y_i=1)+\text{card}(\hat{y}_i=1|y_i\neq 1)}$$

$$ R_{defect} = \frac{ \text{card} (\hat{y}_i=1|y_i=1) }{\text{card}(\hat{y}_i=1|y_i=1)+\text{card}(\hat{y}_i\neq 1|y_i = 1)}$$

$$ F_{defect} = \frac{4}{3R_{defect}^{-1}+0.9 \min(P_{defect},0.9)^{-1}} $$

Итоговая метрика, по которой оценивается решение: $$Q=\frac{F_{el}+2F_{defect}}{3}$$

Рассмотрены различные подходы решения задачи:

  • CatBoost
  • CNN
  • U-Net
  • DeepLabV3
  • SegFormer

Результаты

$F_{el}$ $F_{defect}$ $Q$
CatBoost 0.68 0.18 0.35
CNN 0.88 0.34 0.52
U-Net 0.95 0.62 0.73
DeepLabV3 0.97 0.6 0.72
SegFormer 0.92 0.48 0.63

project_magnitograms's People

Contributors

polozhiev 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.