dorsar/lung-cancer
Viewer • Updated • 767 • 352 • 1
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.
Architecture/: Contains the core model scriptsarchitecture.py: Defines the model architecturepreprocess.py: Data preprocessing utilitiestest.py: Script for testing the modelModel/: Stores trained model fileslung_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.