Giter VIP home page Giter VIP logo

chenwwweixiang / diagnosis_covid19 Goto Github PK

View Code? Open in Web Editor NEW
24.0 1.0 17.0 3.76 MB

OpenCovidDetector is an opensource COVID-19 diagnosis system implementing on pytorch, which is also as presented in our paper: Development and evaluation of an artificial intelligence system for COVID-19 diagnosis. Nat Commun 11, 5088 (2020).(https://doi.org/10.1038/s41467-020-18685-1)

License: MIT License

Python 99.74% Shell 0.26%
covid-19 pneumonia-detection opencoviddetector pytorch

diagnosis_covid19's People

Contributors

chenwwweixiang 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

Watchers

 avatar

diagnosis_covid19's Issues

featureextractor

Hello
In data/dataset.py line 6:
from radiomics import featureextractor
where is featureextractor?

Why don't use all slices in CT scans for training but use one every 10 slices?

In the file data/get_train_jpgs.py, why did you only use one every 10 slices in the CT scans for training but not all slices?

    for idx, i in enumerate(range(0,V.shape[0],10)):
        if not 'healthy' in set_name and False:
            if not i in sums2:
                continue
        data=V[i,:,:]
        data[data>500]=500
        data[data<-1200]=-1200#-1200~500
        data=data*255.0/1700
        data=data-data.min()

        data=np.stack([data,M[i,:,:]*data,M[i,:,:]*255],-1)#mask one channel
        data = data.astype(np.uint8)

        cv2.imwrite(os.path.join(output_path_slices,'nor_'+set_name+'_'
                                 +name.split(',')[0].split('/')[-1].split('.nii')[0]
                                 +'_'+str(int(i/(V.shape[0])*100))+'.jpg'),data)

lung_checkpoint.pth

Hello
thanks for sharing your code.
I have a question.
for segmentation part in predict.py
where is lung_checkpoint.pth?

weak_super.pt

Hello.
for testing model in main.py and testengine.py:
where is 'pretrainedmodelpath': 'weights/weak_super.pt' ?

Covid or CAP, test.toml

Thank you for sharing your nice work!
I would like to test your weak_super.pt #5 model on a dataset containing ct scans of Covid and CAP patients.
What should be the settings in the test.toml for this classification task? mod=?

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.