Giter Site home page Giter Site logo

adam-matic / aiwings Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4.79 MB

AIWings is a neural network model for automatic placing of landmarks (keypoints) on the wings of Drosophila melanogaster for use in geometric morphometrics. Created in the lab of Maria Dominguez at the Instituto de Neurociencias, Alicante

License: MIT License

Jupyter Notebook 73.85% Python 26.15%

aiwings's Introduction

AIWings

AIWings is a neural network model for automatic placing of landmarks (keypoints) on the wings of Drosophila melanogaster for use in geometric morphometrics.

Correct landmark placing

The dataset for AI Wings was created by Roberto Santoro and Daniel Tendero in the María Domínguez Laboratory at the Instituto de Neurociencias in Alicante, Spain. The dataset contains 3481 images of Drosophila melanogaster wings with 15 landmarks per wing. It was created using the software called tpsDig2.

We converted this dataset to a format appropriate for the machine learning library DeepLabCut and trained a neural network on a Windows PC with an NVidia 4090 GPU. It was tested on windows PCs with GPUs and also CPU-only systems.

Using the model:

  • Install DeepLabCut in a separate python environment (How to install DeepLabCut )
  • Download the model (release file)
  • Activate the environment you created and run the model in a custom script, as we show in the example script in this repository (mark_landmark.py)

The model will create a .h5 file containing tha landmarks that can be converted to other formats. In the example script, we show how to convert the landmarts to the TPS format, so it could be viewed in the tpsDig2.

The model correctly recognizes landmarks in the majority of cases, even if the wings or images have noticable defects.

Correct landmark placing

Best results are obtained when there is only one wing per image. Some errors might appear when there are parts of multiple wings in the image. For example:

Not correct landmark placing

aiwings's People

Contributors

adam-matic 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.