Giter Site home page Giter Site logo

Did you use data augment? about chexnet HOT 12 CLOSED

arnoweng avatar arnoweng commented on July 17, 2024 2
Did you use data augment?

from chexnet.

Comments (12)

billhhh avatar billhhh commented on July 17, 2024 3

Sorry, I did not realize you have metioned "the up sampling or change weight" is about pneumonia binary classification problem. what I was asking is all about 14 classes classification problem

from chexnet.

jkhhh avatar jkhhh commented on July 17, 2024 2

I ran your trained model on the testset, but it seems that something has been done to adjust the mean probability of each disease. Such values will not be obtained by the original training strategy (If my experiment is correct).

loss

from chexnet.

ZhichengHuang avatar ZhichengHuang commented on July 17, 2024 2

what method do you use to address the class unbalanced?

from chexnet.

billhhh avatar billhhh commented on July 17, 2024 2

I do not think the v2 changed the weights, the paper says
image, and v1 says "We also augment the training
data with random horizontal flipping."

from chexnet.

billhhh avatar billhhh commented on July 17, 2024 1

If without data augment, how to address data positive & negtive uneven problem? I think the original paper use data augment...

from chexnet.

billhhh avatar billhhh commented on July 17, 2024 1

Hello, so which way do you use? upsampling or changing sample weights?

from chexnet.

zoogzog avatar zoogzog commented on July 17, 2024 1

Thank you @arnoweng for sharing the code. I have implemented the training procedure, and strangely enough, was able to obtain better AUROC score (0.8508). Following imagenet example I used random crops and flips during training stage, learning rate was set to 0.0001.

from chexnet.

arnoweng avatar arnoweng commented on July 17, 2024

I've tried several data augmentation methods that work well in other domains, but they do not work in this task somehow. The training code is adopted from PyTorch examples and you can easily find them in offical page.

from chexnet.

arnoweng avatar arnoweng commented on July 17, 2024

The problem can be addressed by oversampling positive classes or changing sample weights which are elaborated in original paper v1 and v2 respectively.

from chexnet.

chaoyan1037 avatar chaoyan1037 commented on July 17, 2024

When training the model, did you freeze the model parameters except for the modified parts? Or, just train all parameters? @arnoweng

from chexnet.

arnoweng avatar arnoweng commented on July 17, 2024

@chaoyan1073 I have tried both. This released model was trained without freezing parameters.

from chexnet.

chaoyan1037 avatar chaoyan1037 commented on July 17, 2024

@arnoweng Thanks for your kind reply! I have tried both, too. However, In my case, freezing partial parameters will produce better AUC score 0.810. But it is still not as good as your 0.847. But I did not adopt any sampling strategies at present. I will try some sampling skills and see if them helps.

from chexnet.

Related Issues (20)

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.