Skip to content

Issue on creating new DR lesion map  #1

@tien-m-duong

Description

@tien-m-duong

Dear authors,

I found this work to be very interesting and want to use it for my research. I tried to replicate the results and encountered some problems. When I try to use Retina Template to hand-draw, it gives me this error.
Screenshot from 2024-10-08 13-00-12

Furthermore, I want to input DR 0-4 and have the model generate a synthetic retina image based on that input. Based on my understanding, you can input any grade and it will generate the image for you. "To generate lesion masks of a specific DR grade, the generator of StyleGAN has been modified to also take DR grades as an input variable." However, I cannot find a way to input DR grade. It would be great if you can assist me on this problem or direct me to sources that can help me.

So far, I was able to randomly generate retina image. I also tried to upload my image and have the model generate a synthetic image, but my uploaded image has to be a DR lesion map image. If I try to upload a real fundus image, it will give error "Mask contain invalid Class Colors". I believe this is meant to be, since the GauGAN can only generate fundus image based on the DR lesion map. I want to put this here to double check whether my understanding for this work is correct. Please let me know if my understanding is not correct. Thank you so much for your work.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions