Giter Site home page Giter Site logo

pigmented-skin-lesions-classification's Introduction

Pigmented-skin-lesions-classification

Pigmented skin lesions are almost common around the world, since human skin is generally exposed and highly vulnerable to strong ultraviolet rays and external pathogens, with almost all people having several pigmented lesions. Pigmented skin lesions are caused by melanocyte cells in the body. Malignant skin cancer such as melanoma, basal cell carcinoma, or squamous-cell carcinoma is one of the pigmented skin lesions, with a high degree of malignancy, rapid metastasis, difficulty to find, and other characteristics, early diagnosis of skin cancer can effectively improve the cure rate.
Pigmented skin lesion:

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on your local machine.

Configurations

Please install the following libraries

  1. python 3.7.0
  2. pytorch 1.7.0 + cu110
  3. albumentations 0.5.2
  4. tqdm
  5. opencv-python
  6. numpy

Pretrained weights

pretrained weights are in: Pretraining weights Password is: t5nq

Datasets

The pretraining dataset can be downloaded from the following URLs:

  1. Pretraining dataset
  2. segmentation dataset

Downstream classification

In this repositories, we present downstream pigmented skin lesions classification task (KNN and Transfer learning):

For transfer learning

  1. cd to "downstream-task"
  2. Download the pretrained weights:
  3. Load the pretrained weitghts from backbone network in the '5-fold-cross.py':
  4. Afterward, please run the '5-fold-cross.py' to classifier skin lesion

For KNN

  1. cd to "downstream task"
  2. Run the "Knn_train.py" directly.

Self-supervised-learning

For skin images unsupervised training, we present proposed method in the paper:

  1. cd to self-supervised-learning
  2. run the 'train.py' to unsupervised training.

Visualization

TSEN Results:

CAM Results:

Citation

If you use the proposed framework (or any part of this code in your research), please cite the following paper:

Contact

If you have any query, please feel free to contact us

pigmented-skin-lesions-classification's People

Contributors

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