Coder Social home page Coder Social logo

artastier / uniseg Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 106 KB

This repository is the result of an academic project at Ecole Centrale in Nantes, France, with my classmate @damien-gautier-nantes. The aim of this project was to evaluate the performance of universal segmentation models for segmenting cancerous lesions. The UniverSeg and Segment Anything (SAM) models were tested.

License: Other

Python 100.00%
ai deep-learning segment-anything-meta segmentation universeg maximum-intensity-projections medical positron-emission-tomography

uniseg's Introduction

UNISEG

License: MIT

This repository is the result of an academic project named UNISEG (Universal Segmentation) at Ecole Centrale in Nantes, France, with my classmate @damien-gautier-nantes. The aim of this project was to evaluate the performance of universal segmentation models for segmenting cancerous lesions. The UniverSeg and Segment Anything (SAM) models were tested.

They were tested using the HECKTOR dataset which regroups subjects with head and neck tumors.

For confidentiality reasons we can't expose our results in images on GitHub.

Usage :

The use of our code is described in each README of UniverSeg and SAM folders.

Download UniverSeg model

pip install git+https://github.com/JJGO/UniverSeg.git

Download SAM model

  • Download a model checkpoint

    WARNING: You may need to change where the program fetches the downloaded model for SAM use.

  • Then:

    pip install git+https://github.com/facebookresearch/segment-anything.git
    pip install opencv-python pycocotools matplotlib onnxruntime onnx

Clone this repository

git clone https://github.com/artastier/UNISEG.git

Improvements:

To increase the automation of the segmentation of cancerous lesions, it may be useful to develop the following pipeline:

  • Automatic detection with UniverSeg model
  • Remove wrong predictions from UniverSeg
  • Use of SAM to load an image where we can see what UniverSeg has segmented. Prompt points on the lesions non-segmented by UniverSeg and a background point. It can be interesting to try faster version of SAM.

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.