Giter VIP home page Giter VIP logo

s-mostafa-a / luna16 Goto Github PK

View Code? Open in Web Editor NEW
72.0 4.0 26.0 3.31 MB

Developing a well-documented repository for the Lung Nodule Detection task on the Luna16 dataset. This work is inspired by the ideas of the first-placed team at DSB2017, "grt123".

License: MIT License

Jupyter Notebook 93.63% Python 6.37%
lung-cancer-detection lung-nodule-detection 3d-object-detection medical-imaging pytorch yolo 3d-preprocessing 3d-unet luna16 data-science-bowl-2017

luna16's Introduction

s-mostafa-a stats

luna16's People

Contributors

s-mostafa-a avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

luna16's Issues

classification loss - negative sample labels

Hi,

In the following snippet from the loss.py file:
''classify_loss = 0.5 * self.classify_loss(
pos_prob, pos_labels[:, 0]) + 0.5 * self.classify_loss(
neg_prob, neg_labels + 1) ''

why is the target label for sigmoid loss of negative samples given as ' neg_labels + 1' ?
Shouldn't it be just 'neg_labels'? (as the value of 'neg_labels' is initilaized as 0 in itself)

Small Sample

Dear Mostafa, Thank you very much for your efforts. You provided information about a small sample, however the data on the link is unavailable. Could you please provide a new link?

Sample_of_training_process_with_google_colab.ipynb got error

Dear author,

I'm using your google colab
I followed your instruction from 'How to use' but I got "IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed" while running train.py.
May I ask you how to solve this?

Thanks

ERRORS ON PRE-PROCESSING STEP

Hello Sir
Could you help me please, when am trying to run the pre-process step am facing the errors below...

IndexError Traceback (most recent call last)
in
57
58 if name == 'main':
---> 59 save_preprocessed_data()

in save_preprocessed_data()
48 tp_co = tp_co[:max_numbers_to_use]
49 radii = radii[:max_numbers_to_use]
---> 50 ct = CTScan(seriesuid=series_id, centers=tp_co, radii=radii, clazz=0)
51 ct.preprocess()
52 ct.save_preprocessed_image()

in init(self, seriesuid, centers, radii, clazz)
15 self._centers = centers
16 paths = glob(f'''{RESOURCES_PATH}/*/{self._seriesuid}.mhd''')
---> 17 path = paths[0]
18 self._ds = sitk.ReadImage(path)
19 self._spacing = np.array(list(reversed(self._ds.GetSpacing())))

IndexError: list index out of range

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.