Giter Site home page Giter Site logo

gastric-cancer-detect's Introduction

gastric-cancer-detect

胃癌恶性病变组织检测

Library Versions

 tensorflow >= 2.2
 tensorflow-addons >= 0.11
 OpenCV

数据准备

将图片路径及标签放在一个csv文件里,可以用data.py生成 格式如下:

filepath label maskpath type filename
F:/data/cancer/0/3375.jpg 0 train 3375.jpg
F:/data/cancer/0/0425.jpg 0 train 0425.jpg

训练

python trainM.py -net U2netS -i data/gastric.csv -size 160 -epochs 100 -batch_size 4 -opt SGD -lr 0.001

评估dice并生成测试集结果

python inferM.py -net U2netS -size 160 -p saved/xxxx_model.h5 -o 1

训练记录

Model params ImageSize 线下Score 线上Score
UEfficientNetB4 10.5M 320 - 0.630
U2netS 3.73M 256 0.6944 0.6664
U2netSP 4.27M 352 0.6947 0.6958
U2netSP 4.27M 416 0.7270 0.7476

Reference

gastric-cancer-detect's People

Contributors

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