zhjohnchan / R2GenCMN

[ACL-2021] The official implementation of Cross-modal Memory Networks for Radiology Report Generation.
Apache License 2.0
77 stars 7 forks source link

How to predict the generated caption from a new medical image by using the pre-trained model? #13

Open RunCode90 opened 1 year ago

RunCode90 commented 1 year ago

Hi, I am following your work and thank your for the open code!

But one question is:

If i want to predict the generated caption from a new medical image by using the pre-trained model (mimic_cxr or iu_xray), what should i do?

Is it directly inputting a new image into this pre-trained model?

Can you provide a code example?

Hope you can help. Looking forward to your reply. Thank you! Best wishes!