Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while predicting a new chest XRay image #22

Open
prasanth-rgb opened this issue Dec 4, 2019 · 2 comments
Open

Issue while predicting a new chest XRay image #22

prasanth-rgb opened this issue Dec 4, 2019 · 2 comments

Comments

@prasanth-rgb
Copy link

Hi,

I got a strange behavior when tried to predict a new image with the fresh code from github.

At the end of prediction, it got very less rate 2.34 e-2 (near values) in outPRED for all the classes and when i take the F.softmax(outPRED,dim = 0), it give a tensor with value [1. ,1. ,1. ,1. ,1. ,1. , 1. , 1. ,1. ,1. , 1. , 1. , 1. , 1.]

Any idea on why it is getting this way?

@agil27
Copy link

agil27 commented Jul 15, 2020

I haven't gotten into the details of this piece of code, but as far as I am concerned about the problem setting here, the Chest X-ray pathology prediciton is a multi-label problem rather than a multi-class problem, which means the output logits won't necessarily add up to 1, and thus softmax, as a normalization function, shouldn't be used here.

@stupidBirdFirstFly
Copy link

Hi,I am new to deep learning.Can you run this code? If it can run, I would like to ask about your operating environment, including pytorch version, graphics card model, cuda, etc.Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants