Giter VIP home page Giter VIP logo

Comments (5)

bartmch avatar bartmch commented on June 22, 2024 1

Apologies - I just figured out I was pointing to the wrong trained network! Everything looks good now.
image

from covidaid.

arpanmangal avatar arpanmangal commented on June 22, 2024

batch_size at test time does not matter. You can use any size which fits in your GPU memory. For training, see sec. 3.3 of our paper for hyper-parameters.

from covidaid.

bartmch avatar bartmch commented on June 22, 2024

I just lowered the batch size and it runs fine (testing bs shouldn't matter - you're right).
A more urgent question: I created the ROCs and CMs for the data split in the code (which reflects the paper). When I want to replicate the results using:
["--mode","test","--freeze","--checkpoint","path_to/CovidAID_transfered.pth.tar","--bs","8","--cm_path","path_to/plots/cm_best","--roc_path","path_to/plots/roc_best","--combine_pneumonia"]
I get the following ROC and CM:
image
image
image

from covidaid.

arpanmangal avatar arpanmangal commented on June 22, 2024

Which pre-trained model did you use? Did you use the correct model?

from covidaid.

bartmch avatar bartmch commented on June 22, 2024

Which pre-trained model did you use? Did you use the correct model?

I followed your steps. The only difference is that I had to make the model torch>1.0 compatible but I didn't change any weights or so, only the names of the layers - that shouldn't really matter right?
FYI: test.txt

from covidaid.

Related Issues (9)

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.