YijinHuang / Lesion-based-Contrastive-Learning

This is the official implementation of the paper Lesion-based Contrastive Learning for Diabetic Retinopathy Grading from Fundus Images.
38 stars 6 forks source link

about the best model #1

Closed qjianying closed 2 years ago

qjianying commented 2 years ago

hello, can you tell me how to load your best model?

YijinHuang commented 2 years ago

Hi. Sorry for confusing you. We have added the example codes in README. We also updated the models in the release, please remember to download them again. If there is any problem, please feel free to comment here. Thank you.

qjianying commented 2 years ago

dear YijinHuang:       Thank you very much.        I'm sorry to bother you again. I have another question to ask you. Why is the output of the network full connection layer 2 instead of the category number 5?

------------------ 原始邮件 ------------------ 发件人: "YijinHuang/Lesion-based-Contrastive-Learning" @.>; 发送时间: 2021年11月21日(星期天) 下午2:32 @.>; @.**@.>; 主题: Re: [YijinHuang/Lesion-based-Contrastive-Learning] about the best model (Issue #1)

Hi. Sorry for confusing you. We have added the example codes in README. We also updated the models in the release, please remember to download them again. If there is any problem, please feel free to comment here. Thank you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

YijinHuang commented 2 years ago

Because in this work, we treat the task of DR classification as a regression task. The softmax layer of the fully connected layer is removed and the output dimension is set to be 1 to produce a prediction score. In the testing phase, the prediction score is clipped to be between [0, 4] and then simply rounded to integers to serve as the final predicted grade. You can find more details in section 3.2.4 of our other preprinted paper (https://arxiv.org/pdf/2110.14160.pdf).

qjianying commented 2 years ago

Dear YijinHuang:

      Thank you very much. I feel very honored that you can take the time to answer for me. I have understood, and I have no other questions for the moment. Thank you again.

                                                                                                                                                                                                                                       Best wishes!

                                                                                                                                                                                                                                          qjianying

------------------ 原始邮件 ------------------ 发件人: "YijinHuang/Lesion-based-Contrastive-Learning" @.>; 发送时间: 2021年11月22日(星期一) 中午1:36 @.>; @.**@.>; 主题: Re: [YijinHuang/Lesion-based-Contrastive-Learning] about the best model (Issue #1)

Because in this work, we treat the task of DR classification as a regression task. The softmax layer of the fully connected layer is removed and the output dimension is set to be 1 to produce a prediction score. In the testing phase, the prediction score is clipped to be between [0, 4] and then simply rounded to integers to serve as the final predicted grade. You can find more details in section 3.2.4 of our other preprinted paper (https://arxiv.org/pdf/2110.14160.pdf).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

YijinHuang commented 2 years ago

You're welcome. Thank you for your interest.