Comments (8)
Update: I already able to disable the RoI suppressor by modifying extra zero numpy array made.
However I still struggle with problem number 2
from medicaldetectiontoolkit.
hi the preprocessing script is only an example script for the LIDC data set! For your custom data set you would need to write your own custom preprocessing script. The example script can help you to get an idea how to structure your script but the exact steps such as loading of your data need to be customized according to your specific needs.
Features like aggregation over multiple raters are very specific to LIDC and you do not need to do that so you can probably skip half of the steps in the example script.
from medicaldetectiontoolkit.
hi the preprocessing script is only an example script for the LIDC data set! For your custom data set you would need to write your own custom preprocessing script. The example script can help you to get an idea how to structure your script but the exact steps such as loading of your data need to be customized according to your specific needs.
Features like aggregation over multiple raters are very specific to LIDC and you do not need to do that so you can probably skip half of the steps in the example script.
Thank you Sir, I already create my custom dataset, however sometimes when running preprocessing.py, there are some error Index 0 is out of bound for axis 0 with size 0
which resulted in me deleting the data. Is the problem lie on the csv or the image file Sir?
from medicaldetectiontoolkit.
hi the preprocessing script is only an example script for the LIDC data set! For your custom data set you would need to write your own custom preprocessing script. The example script can help you to get an idea how to structure your script but the exact steps such as loading of your data need to be customized according to your specific needs.
Features like aggregation over multiple raters are very specific to LIDC and you do not need to do that so you can probably skip half of the steps in the example script.
By the way, can I ask for reference how much epoch, batch_size, and num_train_batches suitable for training around 300-500 thorax CT scan dataset (approximately each file has similar file size with LIDC dataset will be run at Tesla P100 16GB)?
from medicaldetectiontoolkit.
I would recommend you to maximize batch size filling up GPU memory. Pick an intuitive number for epochs and training batches and observe in the monitoring plot if your model is overfitting and then adjust the training length accordingly.
from medicaldetectiontoolkit.
I would recommend you to maximize batch size filling up GPU memory. Pick an intuitive number for epochs and training batches and observe in the monitoring plot if your model is overfitting and then adjust the training length accordingly.
Thank you Sir for the tips. By the way, I already done some quick train (only folds_0) with parameter as following: #40
with configs.py
:
self.report_score_level = ['patient', 'rois'] # choose list from 'patient', 'rois'
self.class_dict = {1: 'groundglass', 2: 'subsolid', 3: 'solid'} # 0 is background.
self.patient_class_of_interest = 2 # patient metrics are only plotted for one class.
self.ap_match_ious = [0.1] # list of ious to be evaluated for ap-scoring.
self.model_selection_criteria = ['solid_ap', 'subsolid_ap', 'groundglass_ap'] # criteria to average over for saving epochs.
self.min_det_thresh = 0.1 # minimum confidence value to select predictions for evaluation.
self.head_classes = 4
# seg_classes hier refers to the first stage classifier (RPN)
self.num_seg_classes = 2 # foreground vs. background
and the results I get :
****************************
results for fold 0
****************************
fold df shape (12551, 7)
AUC 0.5000 AP 0.5061 fold_0 patient cl_1
AUC 0.0000 AP 0.0000 fold_0 rois cl_1
AUC 0.5000 AP 0.3882 fold_0 patient cl_2
AUC 0.0000 AP 0.0000 fold_0 rois cl_2
AUC 0.1154 AP 0.7575 fold_0 patient cl_3
AUC 0.0000 AP 0.0000 fold_0 rois cl_3
AUC 0.0000 AP 0.0000 average_foreground_roi
If I'm not mistaken AUC 0.5 means it can't differentiate the class clearly, and rois cl_1, 2, 3 equal to zero means that all the prediction boxes missed?
Visualization show that the anchors already OK, classification too, however the bounding boxes are off.
Are the modified configs.py
parameters applicable for 3 class texture classification (solid, subsolid, groundglass)?
Thank you Sir
from medicaldetectiontoolkit.
hi can you please post this in the slack channel? i guess this is getting a little off topic for the initial issue. thanks!
from medicaldetectiontoolkit.
hi can you please post this in the slack channel? i guess this is getting a little off topic for the initial issue. thanks!
Okay Sir.
from medicaldetectiontoolkit.
Related Issues (20)
- Compile Cuda Functions Help
- Question about "min_det_thresh" in test plotting
- troubles with MultiThreadedAugmenter HOT 2
- Problem with one class training HOT 4
- How could I preprocess my own nii data? HOT 2
- out of memory ConvertSegToBoundingBoxCoordinates
- How should I prepare the dataset? HOT 1
- inference issue
- Compiling CUDA functions for Titan RTX HOT 1
- data_load is very very very slow?
- how to improve the speed of test?
- Batch generation error on my customized dataset HOT 1
- KeyError when trying to train in toy_exp HOT 3
- TypeError: crop_and_resize_forward expected 7 arguments, got 8 when running on cpu
- How can I only evaluate based on the ground-truth bounding box? HOT 1
- When using batch_generator, where should I put "boxes_coords" in? HOT 1
- only a single thread working in "MultiThreadedAugmenter " !
- How to write U-Net Deep Learning code dealing with ".tiff" images?
- Project dependencies may have API risk issues
- Can you share the preprocessed LIDC dataset,Thank you HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from medicaldetectiontoolkit.