Browse Source

first commit

master
a.rasekh 5 months ago
commit
47dc6561bb

+ 16
- 0
Readme View File

@@ -0,0 +1,16 @@
1. There is a folder called interpretability_deep_lift in the Tools folder. This folder has three main scripts.


The first script which main_code has the implementation fo the model and training of that and some results of it. But next scripts mostly focus on interpretation of the model by different methods and teqniches.
The second one model script in this folder after traning the model will test different interpretability models on it and check the results. These different configs include deep lift, grad-cam, etc. It will check the effects of borders or other parts of the lesions as well.

Its worth noting that different channels and layers of the network will be considered as well.

The third script will load pre-train models and test different interpretability models with the same previous situations. It will calculate the infedility of model by deepLift and grad-cam as well and compare them with the calculated scores.


Besides there are two other scripts in the other folder which contains our implementation on some other areas. For example an implementation is done on skin dataset to check the results. However these datasets are not the main one which we focused on them.

Also there is another folder which is called preprocess. In this folder the preprocessing scripts that we used are saved. Our main dataset that we used for the project is LIDC. In order to use LIDC we needed to use pylidc library of python and this library should be installed on the system and environment that we are running it. The dataset path should be proper dataset and relative to the code that is going to run. After running the script it will load the dataset and process all images and save them in a format of 2D slices.

Our dataset has multiple labels both for classification and segmentation. For classification there are nine various leables. After preprocessing the segmentation masks and labels will be saved in a folder and all 2d slices of images will be saved in another folder. The class number of each nodule of lung will be saved in another excel file which shows other labels. Obviously these labels can be used for further ideas.

+ 1
- 0
interpretability_deep_lift/Untitled.ipynb
File diff suppressed because it is too large
View File


+ 1
- 0
interpretability_deep_lift/Untitled1.ipynb
File diff suppressed because it is too large
View File


+ 34235
- 0
interpretability_deep_lift/main_code.ipynb
File diff suppressed because it is too large
View File


+ 1
- 0
other/kvasir.ipynb
File diff suppressed because it is too large
View File


+ 1
- 0
other/skin_lesion_unet.ipynb
File diff suppressed because it is too large
View File


+ 1
- 0
refactored/Untitled.ipynb
File diff suppressed because it is too large
View File


+ 1
- 0
refactored/Untitled1.ipynb
File diff suppressed because it is too large
View File


Loading…
Cancel
Save