Giter Site home page Giter Site logo

arnabkumarroy02 / histopathological-cancer-detection Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 41.36 MB

This project is a Cancer Detection model made using Python. This project uses Deep Convolutional Neural Networks to identify the metastatic tissues in histopathologic scans.

License: MIT License

Jupyter Notebook 99.83% Python 0.17%
cancer-detection deep-learning deep-neural-networks pytorch-implementation

histopathological-cancer-detection's Introduction

Histopathological Cancer Detection using Deep Learning

This repository contains code and resources for histopathological cancer detection using deep learning models. The project aims to develop accurate and efficient models for classifying histopathological images into cancerous and non-cancerous categories.

Table of Contents

Introduction

Histopathological cancer detection plays a crucial role in diagnosing and treating cancer. This project focuses on leveraging deep learning techniques to automate cancer detection from histopathological images. By developing accurate models, we aim to assist pathologists in making faster and more reliable diagnoses.

Installation

To use the code in this repository, follow these steps:

  1. Clone the repository:
git clone https://github.com/ArnabKumarRoy02/Histopathological-Cancer-Detection.git
  1. Install the required dependencies:
pip install -r requirements.txt

Usage

Here's a brief overview of the contents of this repository:

  • train.py: This script is used to train a model on the dataset.
  • evaluate.py: This script is used to evaluate a trained model on the test set.
  • model.pt: This is a trained model.

To train a model, run the following command:

python train.py

To evaluate a trained model, run the following command:

python evaluate.py

Dataset

The dataset used in this project is taken from a Kaggle Competition. The dataset contains 220025 histopathological images of lymph node sections. The images are labelled as 0 (non-cancerous) and 1 (cancerous). The dataset is split into train, validation and test sets. The train set contains 176020 images, the validation set contains 22003 images and the test set contains 22002 images.

You can download the dataset from here.

Model Training

A trained model is provided in model.pt. However, feel free to experiment with different architectures or adapt the code to train your own models. Make sure to refer to the documentation and comments within the code for more details.

Evaluation

We provide an evaluation script evaluate.py to assess the performance of the trained model on test data. The script generates relevant metrics and outputs the results. Make sure to provide the path to the saved model and the test data directory as command-line arguments.

Contributing

Contributions to this project are welcome! If you have any suggestions, bug reports, or would like to contribute improvements, please submit a pull request or open an issue.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

histopathological-cancer-detection's People

Contributors

arnabkumarroy02 avatar

Stargazers

Falah Gate Salieh avatar

Watchers

Kostas Georgiou avatar  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.