Giter VIP home page Giter VIP logo

deepmushroom's Introduction

DeepMushroom

DeepMushroom is a fungal classficiation project using ResNet

Data Sources

iNaturalist.org

iNaturalist.org is a citizen science website that allows people to upload images of unknown organisms for identification by other ecology enthusiasts. We collected images of identified fungi uploaded between 2017 and 2019 via the iNaturalist export tool. The images downloaded were then categorized by their species.

We use both python and golang scripts to download the images from iNaturalist.org. See here: main.go

Distribution

The data distribution is heavily skewed towards the few most common species. We remove the fungal species with less than 10 images for two reasons:

  • If one species has less than 10 identification on iNaturalist.org, it indicates that it is not frequently occuring. Therefore, there is less value in the identification of such species.
  • There is not enough data to effectively train the identification model. A species with less than 10 images will hurt the overall accuracy of our model

MushroomExpert.com

Since the images from MushroomExpert were identified by mycologists, we can use their images as a reliable validator to test the performance of our model.

Model

Since we are in the very early stage of the experiment we built the model with the fast.ai library. The model will gradually switch to our own models utilizing pytorch as we progress.

Metrics

Architecture Validation Accuracy Validation Top-5 Accuracy Test Accurarcy Test Top-5 Accuracy
ResNet34 70.68 86.36 31.94 48.11
ResNet50 79.67 91.76 38.77 59.14
ResNet50+Focal Loss 80.24 92.32 39.48 60.45

Top 10 Most Confused Fungal Species

Prediction Ground Truth
Fomitopsis mounceae Fomitopsis pinicola
Pleurotus pulmonarius Pleurotus ostreatus
Dacrymyces chrysospermus Tremella mesenterica
Tremella mesenterica Dacrymyces chrysospermus
Laetiporus gilbertsonii Laetiporus sulphureus
Stereum hirsutum Stereum complicatum
Tremella aurantia Tremella mesenterica
Ganoderma megaloma Ganoderma applanatum
Laetiporus cincinnatus Laetiporus sulphureus
Ganoderma applanatum Ganoderma brownii

deepmushroom's People

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.