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

Prediction result #15

Open
NonlinearNimesh opened this issue Feb 16, 2022 · 0 comments
Open

Prediction result #15

NonlinearNimesh opened this issue Feb 16, 2022 · 0 comments

Comments

@NonlinearNimesh
Copy link

NonlinearNimesh commented Feb 16, 2022

Hi, i have executed your code as per readme file

  1. I ran detector.py (results in ROI stored in text file)
  2. then i ran crop_rois_your_dataset.py (results in "5" folder)
  3. then i ran predict.py and i got this result.
        6.3281e-01, 4.9861e-01, 7.8321e-01, 6.8283e-01, 5.1901e-11, 6.0996e-01,
        6.0776e-11, 8.3949e-01, 5.4392e-01, 9.4065e-01, 5.2019e-12, 2.1195e-10,
        1.6942e-11, 1.4646e-09, 1.7900e-10, 7.5311e-11, 4.3836e-11, 1.3461e-10,
        7.1184e-08, 7.2854e-01, 3.0345e-09, 1.3290e-06, 8.7507e-11, 5.1108e-11,
        6.0748e-10, 2.9482e-11, 4.5003e-09, 3.8715e-10, 4.1433e-11, 1.2130e-10,
        3.6910e-12, 7.1338e-01, 1.2946e-12, 3.6671e-11])), ('module.final.1.weight', tensor([[-5.4076e-01,  1.9848e-12,  3.5346e-01,  ...,  7.9639e-01,
         -1.0393e-30, -7.2086e-03],
        [-3.5829e-01,  4.2498e-12, -1.0540e-01,  ...,  4.3795e-01,
         -9.5742e-22, -2.1120e-03],
        [ 9.3125e-02, -6.8784e-14, -1.9588e-01,  ...,  3.0634e-01,
          3.1095e-31,  1.4625e-03],
        [ 8.6362e-01,  2.3195e-12,  4.2160e-02,  ..., -5.7820e-01,
         -2.1569e-27,  5.8158e-04],
        [ 2.4711e-02,  6.3130e-13, -1.6351e-01,  ..., -9.7592e-01,
          1.4626e-30, -6.1977e-06]])), ('module.final.1.bias', tensor([-0.1403, -0.0196, -0.2482, -0.2937,  0.6932]))])

but my text file named "KL_grading_result" is empty and also how can i see the resultant gradcam image, when i ran produce_gradcam.py i got this error

TypeError: __init__() got an unexpected keyword argument 'n_values'

can you please help me on this

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

1 participant