Downloads · 30 days
0
dorsar/lung-cancer-detection
lung-cancer-detection is a machine learning model from dorsar. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
LungAI is a deep learning project aimed at detecting and classifying lung cancer from CT scan images. The model can differentiate between cancerous and non-cancerous lung tissue, as well as classify specific types of…
Downloads · 30 days
0
Access
Public
Updated Aug 13, 2024
Repo size
385 MB
Likes
3
Public
Click a slice to open those files.
.png98.2 MB · 34%
From the Hugging Face model README
LungAI is a deep learning project aimed at detecting and classifying lung cancer from CT scan images. The model can differentiate between cancerous and non-cancerous lung tissue, as well as classify specific types of lung cancer.
4x hackathon award winner - out of 1,500 total competitors.
<i>This project represents the newest version, now using PyTorch.</i>
Architecture/: Contains the core model scripts
architecture.py: Defines the model architecturepreprocess.py: Data preprocessing utilitiestest.py: Script for testing the modelModel/: Stores trained model files
lung_cancer_detection_model.onnx: ONNX format of the trained modellung_cancer_detection_model.pth: PyTorch weights of the trained modelData/: (Not included in repository) Directory for storing the datasetProcessed_Data/: (Not included in repository) Directory for preprocessed dataassets/: Additional project assetsrequirements.txt: List of Python dependenciesFirst, ensure you have Python installed. Then, install the required Python libraries using the following command:
pip install -r requirements.txt
Run the training script to train the model.
It will be saved as .pth and .onnx files
python Architecture/architecture.py
Run the model by running the following file:
python Architecture/run.py
If you would like to contribute to this project, please fork the repository and submit a pull request. We welcome improvements, bug fixes, and new features.